C++ Programming Tutorial


UNIT - 1

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

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

Conditional Statement


if Statement

If Else Statement

Else if Ladder

Nested if else Statement

Switch Case Statement

Question & Answer

UNIT - 4

Looping Statement


Loop introduction

for loop

while loop

do while loop

Nested loop

Break and Continue Statement

Goto Statement

Question & Answer

UNIT - 5

Array


One dimensional array

Two Dimensional Array

Character Array (String)

Question & Answer

UNIT - 6

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

Structure and Union


Defining and Using Structures

Nested Structures

Arrays of Structures

Pointers to Structures

Unions

Question & Answer

UNIT - 8

Object-Oriented Programming Concepts


Introduction to OOP

Benefits of OOP

Difference Between Procedural and OPP

Question & Answer

UNIT - 9

Class and Object


Defining Class

Creating Object

Class as User Define Datatype

Scope Resolution Operator

Accessing Data Member

Question & Answer

UNIT - 10

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

Constructers and Destructors


Default Constructor

Parametrized Constructor

Copy Constructor

Constructor Overloading

Destructor in C++

Question & Answer

UNIT - 12

Polymorphism


Function Overloading

Operator Overloading

Friend Functions

Question & Answer

UNIT - 13

Inheritance


Single Inheritance

Multiple Inheritance

Multilevel Inheritance

Hierarchical Inheritance

Function Overriding

Abstract Class

Virtual Functions

Question & Answer

UNIT - 14

File Handling


File Streams

Reading from and Writing to Files

File Modes

Binary File I/O

Random Access to Files

Question & Answer

UNIT - 15

Exception Handling


Basics of Exception Handling

try, catch, throw Statements

Standard Exceptions

Custom Exceptions

Question & Answer

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2025 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz