Object Oriented Programming Practical 4
Object Oriented Programming Practical 4 Question 1 Write a program to define a class student having data members name and roll no. Accept and display data for one object. Define the member function inside the class. student.cpp C #include <iostream.h> #include <conio.h> class Student { private: char name[30]; int rollNo; public: void acceptData() { cout […]
Object Oriented Programming Practical 4 Read More »