In C++ be are Write many because it's object oriented programming language (OOPS). But Many beginner student of C++ confuse what is Object and how to use. In this post we'll discuss about Object of C++ and, What is Object, How to use.
What is Object.
How to use
For Example:-Student is a class and the student1 is the object of class student.
class student
{
char name[50];
void display();
};
student student1; //object created of class student
student1 contain the name and by the use of this object.we can call display function