Programming
Interview Questions
C++ Programming Tutorial
UNIT - 1
History and Evolution of C++
Setting up the Development Environment
Writing and Running a Simple C++ Program
Basic Syntax: Structure of a C++ Program
Question & Answer
Introduction to C++
History and Evolution of C++
Setting up the Development Environment
Writing and Running a Simple C++ Program
Basic Syntax: Structure of a C++ Program
Question & Answer
UNIT - 2
Primitive Data Types
Constants and Variables
Type Conversions
Input and Output (cin, cout)
Arithmetic Operators
Relational Operators
Logical Operators
Assignment Operators
Bitwise Operators
Increment and Decrement Operator
Conditional Operators
Special Operators
Operator Precedence and Associativity
Question & Answer
Data Types Variables and Operataors
Primitive Data Types
Constants and Variables
Type Conversions
Input and Output (cin, cout)
Arithmetic Operators
Relational Operators
Logical Operators
Assignment Operators
Bitwise Operators
Increment and Decrement Operator
Conditional Operators
Special Operators
Operator Precedence and Associativity
Question & Answer
UNIT - 3
if Statement
If Else Statement
Else if Ladder
Nested if else Statement
Switch Case Statement
Question & Answer
Conditional Statement
if Statement
If Else Statement
Else if Ladder
Nested if else Statement
Switch Case Statement
Question & Answer
UNIT - 4
Loop introduction
for loop
while loop
do while loop
Nested loop
Break and Continue Statement
Goto Statement
Question & Answer
Looping Statement
Loop introduction
for loop
while loop
do while loop
Nested loop
Break and Continue Statement
Goto Statement
Question & Answer
UNIT - 5
One dimensional array
Two Dimensional Array
Character Array (String)
Question & Answer
Array
One dimensional array
Two Dimensional Array
Character Array (String)
Question & Answer
UNIT - 6
Understanding Pointers
Pointer Arithmetic
Pointers to Pointers
References and Reference Variables
Dynamic Memory Allocation (new and delete)
Pointers and Arrays
Question & Answer
Pointer
Understanding Pointers
Pointer Arithmetic
Pointers to Pointers
References and Reference Variables
Dynamic Memory Allocation (new and delete)
Pointers and Arrays
Question & Answer
UNIT - 7
Defining and Using Structures
Nested Structures
Arrays of Structures
Pointers to Structures
Unions
Question & Answer
Structure and Union
Defining and Using Structures
Nested Structures
Arrays of Structures
Pointers to Structures
Unions
Question & Answer
UNIT - 8
Introduction to OOP
Benefits of OOP
Difference Between Procedural and OPP
Question & Answer
Object-Oriented Programming Concepts
Introduction to OOP
Benefits of OOP
Difference Between Procedural and OPP
Question & Answer
UNIT - 9
Defining Class
Creating Object
Class as User Define Datatype
Scope Resolution Operator
Accessing Data Member
Question & Answer
Class and Object
Defining Class
Creating Object
Class as User Define Datatype
Scope Resolution Operator
Accessing Data Member
Question & Answer
UNIT - 10
Function Prototypes and Definitions
Function Parameters and Return Types
Scope of Variables
Inline Functions
Recursion
Types of Function
Call by Value Call by Reference
Question & Answer
Function in c++
Function Prototypes and Definitions
Function Parameters and Return Types
Scope of Variables
Inline Functions
Recursion
Types of Function
Call by Value Call by Reference
Question & Answer
UNIT - 11
Default Constructor
Parametrized Constructor
Copy Constructor
Constructor Overloading
Destructor in C++
Question & Answer
Constructers and Destructors
Default Constructor
Parametrized Constructor
Copy Constructor
Constructor Overloading
Destructor in C++
Question & Answer
UNIT - 13
Single Inheritance
Multiple Inheritance
Multilevel Inheritance
Hierarchical Inheritance
Function Overriding
Abstract Class
Virtual Functions
Question & Answer
Inheritance
Single Inheritance
Multiple Inheritance
Multilevel Inheritance
Hierarchical Inheritance
Function Overriding
Abstract Class
Virtual Functions
Question & Answer
UNIT - 14
File Streams
Reading from and Writing to Files
File Modes
Binary File I/O
Random Access to Files
Question & Answer
File Handling
File Streams
Reading from and Writing to Files
File Modes
Binary File I/O
Random Access to Files
Question & Answer
UNIT - 15
Basics of Exception Handling
try, catch, throw Statements
Standard Exceptions
Custom Exceptions
Question & Answer
Exception Handling
Basics of Exception Handling
try, catch, throw Statements
Standard Exceptions
Custom Exceptions
Question & Answer