[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Technical Discussion :: C++

3 / 187

What is Virtual Constructor? And Why constructor cannot be virtual in C++?

Answer:

A virtual function, equated to zero is called a pure virtual function. It is a function declared in a base class that has no definition related to the base class.

e.g.: virtual void display () =0;

Asked In ::

Post Your Answer Here:


Rate This: +2 -0      +
Report    

Post Your Reply Here:

Alert me
q4i-reply-your-answer

Report Error

Please Login First Click Here

Most Popular Qs.