CPP Programs / C++ program to declare a pointer to class and Initialize and display the contents of the class members.

Program Name C++ program to declare a pointer to class and Initialize and display the contents of the class members.
Program Code
Input
1.1, 2.2, 3.3
4.4, 5.5, 6.6
Output
called Constructor
called Constructor
Box1 Volume: 7.986
Box2 Volume: 159.72


Home     Back