How to construct virtual constructor
Answer Posted / richa
Constructors can't be virtual in C++.It is an error.The
destructors on the other hand can be virtual.
| Is This Answer Correct ? | 29 Yes | 4 No |
Post New Answer View All Answers
What does int * mean in c++?
What is a local reference?
What is switch case in c++ syntax?
How would you use the functions randomize() and random()?
Is c++ pass by reference or value?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
What is a responder chain?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
What is the difference between map and hashmap in c++?
Is swift better than c++?
What kind of problems can be solved by a namespace?
Give 10 points of differences between C & C++.
What is the auto keyword good for in c++?
What is the outcome of cout< a) 16 b) 17 c) 16.5
How do you save a c++ program?