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 |
why freind function takes more parameter than normal member function in c++?
When is it necessary to use member-wise initialization list in C++?
which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.
write a c++ program to find maximum of two numbers using inline functions.
whats the difference between c and c++
define oops with class and object
Input: enter the value:1234 output: 1 2 3 4 write a program to get above output.....
4 Answers Bally Technologies, IBM, SoftSol,
What is virtual function?where and when is it used?
2. Give the different notations for the class.\
Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)
IN PROGRAMING LANGAUGE A C++ IS PURELY OBJECT ORIENTED OR NOT?
define a string class. overload the operator == to compare two strings
2 Answers Birla, Ericsson, HCL, Infosys, Infotech, MCAS, Satyam,