C++ program to demonstrate example of Parameterized Constructor
belongs to collection: C++ constructor and destructor solved programs
All Answers
total answers (1)
belongs to collection: C++ constructor and destructor solved programs
total answers (1)
Parameterized Constructor program in C++
Output
Method 1: Value after initialization: X: 10 Y: 20 Enter Value of X: 25 Enter Value of Y: 30 Value after User Input : X: 25 Y: 30 Method 2: Value after initialization: X: 10 Y: 20need an explanation for this answer? contact us directly to get an explanation for this answer