Cognizant C++ Interview Questions

1. What do you understand by Garbage collection?
2. Write the syntax of finalize?
3. What is the difference between finalize and finally?
4. What is the difference between string and string buffer class?
5. What is the use of virtual classes in C++?
6. Why virtual classes are important in the case of multiple inheritances?

Shared by: Achyuta Nanda