Google
Showing posts with label interview. Show all posts
Showing posts with label interview. Show all posts

Sunday, November 4, 2007

Common C++ Interview Questions

Some of the questions that are commonly asked in interviews in C++

1. what is the static keyword?

2. what is virtual destructor? Why it is required? Is it mandatory to declare the destructor virtual? What is the overhead?

3. what is the difference between macro and inline function?

4. what is meant by initialization list?

5. where is the static member variable in a class gets initialized.

6. whatz the difference between struct and class?

7. Describe inhertiance?