Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

When is the constructor called in the C++ program? When object of a class is created When class is defined None of the above When

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

When is the constructor called in the C++ program? When object of a class is created When class is defined None of the above When data element of a class is declared Choose the right option string x,y; both x and y are pointer to string types x is a pointer to a string, y is a string y is a pointer to a string, x is a string none of the mentioned The correct statement for a function that takes pointer to a float, a pointer to a pointer to a char and returns a pointer to a pointer to a integer is int fun(float , char ) int *fun(float , char ) int fun ( float, char) int fun ( float , char ) Every program must have a constructor. True False

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions