

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Complete C++ Viva Handbook
C++ is a general-purpose, object-oriented programming language developed by Bjarne Stroustrup. It extends C and supports procedural as well as object-oriented programming.
Object-oriented, fast, portable, reusable code, dynamic memory allocation, templates, exception handling.
Header files, namespace, main() function, statements, return statement.
int, float, double, char, bool, string.
Arithmetic, relational, logical, assignment, increment/decrement, bitwise, conditional.
if, if-else, nested if, switch.
for, while, do-while; break and continue.
One-dimensional and two-dimensional arrays; string class and common functions.
Declaration, definition, calling, recursion, function overloading.
Class, object, encapsulation, abstraction, inheritance, polymorphism.
Default, parameterized and copy constructors; destructor.
Single, multiple, multilevel, hierarchical and hybrid.
Pointer declaration, address operator (&), dereference operator (*), dynamic memory using new/delete.
ifstream, ofstream, fstream; open(), close(), read(), write().
try, throw and catch blocks.
Function and class templates for generic programming.
Remember the four pillars of OOP: Encapsulation, Abstraction, Inheritance and Polymorphism. Practice simple programs on loops, arrays, functions, classes and inheritance before the viva.