C++ Faq for Placement and Interviews
- Explain the Concept of Data Abstraction and Data Encapsulation in Object Oriented Programming (OOPS)
- What are classes ? How are they defined ?
- What are objects ? What is common between all objects of a class ?
- State all the class access modifiers and explain each one of them
- What are Vectors in C++(Object Oriented Programming) and how are they used ?
- What are containers in C++ and in Object Oriented Programming ? Which objects are available as containers ?
- What are Iterators in C++ and Object Oriented Programming ? Explain where we use them
- What are the Algorithms namespace used for ?
- What are Enumerations in C++ and Object Oriented Programming ? Explain with an example ?
- What are References in C++ and OOPS ? How are they used ?
- Explain the Rules for using Default Arguments with an example in C++
- What do you mean by “Pointers to Function”? What are Function Pointers ?
- What are NameSpaces in C++ ? How do we use namespaces in C++ ?
- What is the Exception Handling mechanism in C++ ? What is Try and Catch in C++ ?
- What is Operator Overloading in C++ ?
- What are Friend Functions and Friend Classes in C++ ?
- What are Constructors and Destructors in C++ ?
- What is Inheritance ? How is a Class Inherited in C++ ?
- What are Virtual Functions ? Why do we need Virtual Functions? Explain with an example
- What are Templates in C++ ? How are Templates declared and used ?
- What is Polymorphism ? How is Polymorphism achieved in C++ ?
- What are the Standard Exceptions in C++ ?
- What is Multiple Inheritance in C++ ? Explain with an example
- What is the significance of dynamic_cast (Dynamic Cast) in C++ ?
- What is Streaming in C++ ? What are the Stream Types in C++ ?
- How are functions with variable number of arguments implemented ?
- What are the ways for displaying formatted output in C++ ?
- How is memory allocation and deallocation done in C++ ?
- What is a Copy Constructor in C++ ? Give an example
- What is Static Binding and Dynamic Binding in Object Oriented Programming (C++) ?
- Which are the different ways of function calls in C++ ?
- What is procedural programming ?
- Which are the Different Structures for controlling the program flow ?
- Which are the Different types of Constructors ?
- Why Should Destructors be Virtual ? What is the Significance of having Virtual Destructor ?
- What is Function Overloading in C++ ?
- What are Pointers in C++ (Object Oriented Programming) ?
- What are volatile variables ? Explain Volatile variables
- What is the Difference between Overloaded Functions and Overridden Functions ?
- What are Inline Functions ? When are Inline Functions used ?
- What are Mutable and Const in C++ ?
- What is ‘this’ Pointer (object) in C++
- What is Scope Resolution Operator in C++?
- What are the Storage Types for Variables in C++ ?
- What are Const Member Functions in C++ ?
- Explain Composition in C++ with an example
- What do you mean by ‘Return by Reference’ in C++ ?
- What are static Data and Static Member Functions in C++ ?
- What is a Pure Virtual Member Function ?
- What are Preprocessor Directives ?
