C++ Programs List
Write a C++ Program to display Names, Roll No., and grades of 3 students who have appeared in the examination. Declare the class of name, Roll No. and grade. Create an array of class objects. Read and display the contents of the array.
Write a C++ program to declare Struct. Initialize and display contents of member variables.
Write a C++ program to declare a class. Declare pointer to class. Initialize and display the contents of the class member.
Given that an EMPLOYEE class contains following members: data members: Employee number, Employee name, Basic, DA, IT, Net Salary and print data members.
Write a C++ program to read data of N employee and computer net salary of each employee (DA = 52% of Basic and IT = 30% of the gross salary).
Write a C++ programs to illustrate the concept of console I/O operations
Write a C++ program to use scope resolution operator. Display the various values of the same variables declared at different scope levels.
Write a C++ program to allocate memory using new operator.
Write a C++ program to create multilevel inheritance. (Hint: Classes A1, A2, A3).
Write a C++ program to create an array of pointers. Invoke functions using array objects.
Write a C++ program to use pointer for both base and derived classes and call the member function. Use Virtual keyword.