Why is it so that we can have virtual constructors but we
cannot have virtual destructors?
Answers were Sorted based on User's Feedback
Answer / sachinmundhra
vptr gets initialize in constructor. So in that case we
cannot have virtual constructor.
Is This Answer Correct ? | 5 Yes | 0 No |
i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<<k; } //please comment on the output
What is the full form of oops?
What is debug class?what is trace class? What differences are between them? With examples.
What is oops and its features?
i have to create a view in SQL as like in ORACLE DATA EXPRESS EDITION
How to overload postfix operator in c++
What is object and example?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
why c++ is called OOPS? waht is inherutance? what is compiler?
i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????
What does and I oop mean?
Why do we use polymorphism?