C/C++ Interview Questions
These are some C/C++ interview questions. Do not forget to check the other sections and to check the products page for recommended readings that helps you in your interview.
VC++: Tuple: Explain tuple in visual c++
Dangling pointer: What is a dangling
pointer?
Can you overload a function with the return type?
What is the output of the program below? Why?
Class A
{
public:
void func();
};
class B:pubic A
{
void func(int a);
};
int main()
{
B derv;
derv.func();
}
Solution
Why are there no virtual constructors but there are virtual destructors?
Solution
Why is an array of reference not possible?
Solution
What is the difference between copy constructor & assignment operator? Solution
Previous Page Next Page