Monday, September 16, 2013

C, C++ interview questions part 3

1. Use of private inheritance?
2. Difference between structure and Union?
3. Use of Multiple inheritance?
4. Where is memory of struct allocated?
5. What is virtual class and friend class?
6. What is the use of virtual destructor?
7. Why an array always starts with index zero in C++?
8. What is the maximum size that an array can hold?
9. What is the difference between the deep copy and shallow copy?
10. What is the difference between persistent and non- persistent objects?

No comments:

Post a Comment