C++ Program Structure
C++ Basic Syntax
C++ Data Types
C++ Continue Statement
C++ While Loop
C++ do-While Loop
C++ For Loop
C++ Storage classes
Advanced Features of C++
Review C++ Language
Variables define the state of the object, function define what action
to be performed on variables.Thus, We can say that a program is formed
by interrelated object.
An object can be constructed, destroyed and copied into another object
We can create object using the constructor and destroyed by
Pointer to C++ Objects
C++ Objects created by class can be pointed by the pointer.
Example of C++ Objects :-
abc is the class and x is the object defined to be of type abc.
We can define pointer also.
The pointer to an object of class variable can be accessed
in the following two ways.
(2) object_name -> nameof_member=variable;
The period(.) has a higher precedence over the indirection Operator(*).