which are the 4 members functions in c++ objects that can
either be declared explicitly by programmer or implementation
if nt available.

Answers were Sorted based on User's Feedback



which are the 4 members functions in c++ objects that can either be declared explicitly by program..

Answer / pramod

Zero Argument constructor,Copy Constructor,Assignment
Operator,Destructor

Is This Answer Correct ?    15 Yes 0 No

which are the 4 members functions in c++ objects that can either be declared explicitly by program..

Answer / pramod

Sarita...
1)if i am not wrong...compiler never provides the
parametrized constructor. For example, you can try
this,simply create a parameterized object and don't specify
a parameterized constructor ( as per you say compiler will
provide one), it will generate an error.
2)zero argument constructor and default constructor are the
same things.

Is This Answer Correct ?    3 Yes 0 No

which are the 4 members functions in c++ objects that can either be declared explicitly by program..

Answer / dharmendra

default constructor , copy constructor & Destructor

Is This Answer Correct ?    1 Yes 1 No

which are the 4 members functions in c++ objects that can either be declared explicitly by program..

Answer / sarita

zero argument constructor,default constructor,perameterized
constructor,copy constructor

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More OOPS Interview Questions

what is static?

4 Answers  


Why we use classes in oop?

0 Answers  


20% of a 6 litre solution and 60% of 4 litre solution are mixed what the % of mixture of solution it is resulted into?

5 Answers   IonIdea,


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

0 Answers  


What is for loop and its syntax?

0 Answers  






Conversion from a basic type to a class type may be achieved using______________

5 Answers   HCL,


what is an instance of a class

5 Answers  


Which language is pure oop?

0 Answers  


What are the 4 main oop principles?

0 Answers  


write a program to find 2 power of a 5digit number with out using big int and exponent ?

0 Answers  


what is the new version of c++

1 Answers   Ignou, Pramata, Satyam,


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

0 Answers  


Categories