what is virtual constroctor ? give an exam for it?-(parimal
dhimmar)
Answer Posted / subhashish sen
Constructor can not be virtual.becoz constuctor is an entity
which initializes the V-table(V-table stores the addresses
of all virtual member functions of a class.)So if we declare
a constructor as virtual then who will inialize V-table for
this constructor??Thats why constructor can never be virual.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How to Split Strings with Regex in Managed C++ Applications?
can you please write a program for deadlock that can detect deadlock and to prevent deadlock.
write a program to perform generic sort in arrays?
write a program that creates a sequenced array of numbers starting with 1 and alternately add 1 and then 2 to create the text number in the series , as shown below. 1,33,4,6,7,9,............147,148,150 Then , using a binary search , searches the array 100 times using randomly generated targets in the range of 1 to 150
write a program to convert temperature from fa height into celcius and vise versa,use modular programming
Teta-Omeg-Big-Oh Show that f(n) = n2 + 3n3 is ;(n3).
A suduco given & u hv 2 check if it is incomplete(blanks left),or correct or incorrect
Code for Small C++ Class to Transform Any Static Control into a Hyperlink Control?
Code for Easily Using Hash Table?
how to diplay a external image of output on winxp by using c & c++,
create a stucture student containing field for roll no,class,year and marks.create 10 student annd store them in a file
Ask the user to input three positive integers M, N and q. Make the 2 dimensional array of integers with size MxN, where all the elements of I (I = 1,…,M) line will be members of geometrical progression with first element equal to the number of line (I) and denominator q.
write a program using virtual function to find the transposing of a square matrix?
3. Program to find the Sum of give series. a. (1)+(1+2)+(1+2+3)+(1+2+3+4)+……………………………….. b. 1/1+1/9+1/25+1/49+……………...
Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE.