What happens to the member function in the class when copy constructor is invoked?

What happens to the member function in the class when copy constructor is invoked?

First of all we want to tell you that only the member function have the athourity  to invoke any other member function.But  cunstructor have a diff property, is that it used to initialise the values to data members. and they are constant and it cannot be invoked any other constuctor. If they are copied compiler should not understand or didnot diffrentiate that what is member function and what is constructor, so ambiquity will be raised.

By:UMANG
Date:2001-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher