Why objects are used in C++?

C++ Objects. When a class is defined, only the specification for the object is defined; no memory or storage is allocated. To use the data and access functions defined in the class , we need to create objects.

Sizin İçin Seçtik  What is a class in C++ Mcq?

Leave a Reply

Your email address will not be published. Required fields are marked *