What is constructor or ctor?

What is constructor or ctor?

Constructor maily use to creates an object and initializes it. Its also use in creates a vtable for virtual functions. It is not a method, It is different from other methods in a class.

By:Umang
Date:2006-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