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 |
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What is difference between new and malloc?
Write a c++ program to display pass and fail for three student using static member function
what is an instance of a class
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is late bound function call and early bound function call? Differentiate.
What is inheritance in simple words?
Why do we need oop?
What is destructor in oop?
What is encapsulation oop?
what type of questions
What is cohesion in oop?