Answer Posted / malini
There is no concept like Virtual Constructor and where as
Constructor cant be virtual. Constructor is a code which is
responsible for creating a instance of a class and it cant
assigned to any other object by using appending
keyword 'virtual'
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is singleton pattern in c++?
What is the most powerful coding language?
Explain the different access specifiers for the class member in c++.
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
How are Structure passing and returning implemented by the compiler?
What are the benefits of operator overloading?
What are the syntactic rules to be avoid ambiguity in multiple inheritance?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
What is the best book for c++ beginners?
How can you quickly find the number of elements stored in a static array?
Explain how to initialize a const data member.
Why main function is special in c++?
How should a contructor handle a failure?
Write an algorithm that determines whether or not an almost complete binary tree is a heap.