Professional Documents
Culture Documents
PTTL Assignment List
PTTL Assignment List
Physics,Chemistry and Mathematics and the average marks of the class. The
number of students in the class are entered by the user. Create a class named
Marks with data members for roll number, name and marks. Create three other
classes inheriting the Marks class, namely Physics, Chemistry and Mathematics,
which are used to define marks in individual subject of each student. Roll number
of each student will be generated automatically.
8 Demonstrate Concept of Constructor and Destructor in CPP.(Write about
constructor and destructor)
A Write a C++ program to count the number of characters in string using
constructor.
B Write A C++ program to demonstrate the concept of destructor.
9 Demonstrate Concept Friend and Virtual Function in CPP. (Write about virtual
and friend function)
A Write a C++ program to demonstrate the concept of virtual function.
B Write a C++ program to demonstrate the concept of friend function.
10 Demonstrate Concept of File handling and Exception handling in CPP.(Write
about file handling and exception handling)
A Write a C++ program to create two files and copy the content from file to another
file.
B Write a C++ program to demonstrate the concept of exception handling.
Course coordinator