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 destructor in oop?

0 Answers  


Difference ways of Polymorphism?

3 Answers  


What is polymorphism explain its types?

0 Answers  


i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me.

1 Answers   Syntel,


Can we call a base class method without creating instance?

6 Answers  


Can you name some types of inheritance?

1 Answers   Motorola,


What is a superclass in oop?

0 Answers  


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

1 Answers  


explain dynamic binding by drowing

2 Answers   Cognizant,


Write a macro for swapping integers

5 Answers  


What is sub classing in c++?

1 Answers  


write a program that takes input in digits and display the result in words from 1 to 1000

0 Answers   Wipro,


Categories