You are on page 1of 34

C++ PRACTICAL

PRACTICAL NO 1(A)

Program To Display “Hello Universe”.

OUTPUT:
PRACTICAL 1(b)

Program To Demonstrate Use of Escape


Characters.

OUTPUT:
PRACTICAL 2(a)
WAP to check Whether the Number is Positive ,
Negative or 0.

OUTPUT:
PRACTICAL 2(b)
// Read 10 Numbers From the User and Output
their Sum.

OUTPUT:
PRATICAL 2(c)
Write a Program to Demonstrate switch…Case.

OUTPUT:

PRACTICAL 3(a)
Program to use Scope Resolution Operator.
Display the Various values of the same Variables
Declared at Different Scope Levels.

OUTPUT:

PRACTICAL 4
Program to Demonstrate Single and Multilevel
inheritance.

OUTPUT:
PRACTICAL 5
Programs to Demonstrate Multiple Inheritance.
OUTPUT:
PRACTICAL 6
Program to Accept two Numbers from the
User and Perform Add , Subtract ,
Multiplication and Division.

OUTPUT:

PRACTICAL 7
Program to Demonstrate Use Of Data
members and member Functions.

OUTPUT:

PRACTICAL 8
Program to demonstrate Static
member Function.

OUTPUT:

PRACTICAL 9
Programs based on Branching and
Looping Statements using classes.

OUTPUT:

PRACTICAL 10
Program To Demonstrate one and two
Dimensional Arrays using Classes .

OUTPUT:

PRACTICAL 11(PART A)
Programs to Demonstrate Overloaded
Construstors .

OUTPUT:
PRACTICAL 11 (PART B)
Programs to Demonstrate Copy
Constructors.

OUTPUT:

PRACTICAL 12
Programs to Demonstrate Destructors.

OUTPUT:

PRACTICAL 13
Programs to demonstrate of Public ,
Protected , & Private Scope Specifiers .

OUTPUT:

PRACTICAL 14
Programs To Demonstrate Inheritance and
Derived Class Constructors .

OUTPUT:
PRACTICAL 15
Programs To Demonstrate Virtual Base .

OUTPUT:
PRACTICAL 16
Programs To Demonstrate Friend Function.

OUTPUT:

PRACTICAL 17
Programs To Demonstrate Inline Function.

OUTPUT:

Practical 18
Programs To Demonstrate This Pointer.
OUTPUT:

PRACTICAL 19
Programs To Demonstrate Function
Overloading.

OUTPUT:

PRACTICAL 20
Programs To Demonstrate a Function
Overriding.

OUTPUT:

PRACTICAL 21
Programs To Demonstrate Use Of Pointers.

OUTPUT:
PRACTICAL 22
Programs to Demonstrate Text File Handling.

OUTPUT:

PRACTICAL 23
Programs To Demonstrate Binary File
Handling

OUTPUT:

You might also like