Object Array in C++

Object array can be made in C++ by the following syntax:

 Class name variable name[size] ={object1,object 2,....,objectn};


Example:


Comments

Popular posts from this blog

C++ programming toll plaza simulation program

C++ program to give you hug(pun intended)