C/C++ Interview Questions - 1
Saturday, May 17, 2008
- What is the output of printf("%d")
- What will happen if I say delete this
- Difference between "C structure" and "C++ structure".
- Difference between a "assignment operator" and a "copy constructor"
- What is the difference between "overloading" and "overriding"?
- Explain the need for "Virtual Destructor".
- Can we have "Virtual Constructors"?
- What are the different types of polymorphism?
- What are Virtual Functions? How to implement virtual functions in "C"
- What are the different types of Storage classes?
- What is Namespace?
- What are the types of STL containers?
- Difference between "vector" and "array"?
- How to write a program such that it will delete itself after execution?
- Can we generate a C++ source code from the binary file?
0 comments:
Post a Comment