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
Answer / pramod
Zero Argument constructor,Copy Constructor,Assignment
Operator,Destructor
Is This Answer Correct ? | 15 Yes | 0 No |
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 |
Answer / dharmendra
default constructor , copy constructor & Destructor
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sarita
zero argument constructor,default constructor,perameterized
constructor,copy constructor
Is This Answer Correct ? | 1 Yes | 7 No |
What is destructor in oop?
Difference ways of Polymorphism?
What is polymorphism explain its types?
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.
Can we call a base class method without creating instance?
Can you name some types of inheritance?
What is a superclass in oop?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
explain dynamic binding by drowing
Write a macro for swapping integers
What is sub classing in c++?
write a program that takes input in digits and display the result in words from 1 to 1000