I would like to post some of the tough questions in C++ and DS which I have faced during my interview. The list will get updated as and when i get something new.
1.What is return by reference and when do you go for return by reference and when do you go for the return by value.
2.What needs to be initialized in the constructor and in the initializer list?
3.Whats the purpose of making the destructor virtual in the base class ?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment