C++ program to demonstrate example of Default Constructor or No argument
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)
Default Constructor or No argument program in C++
Output
Method 1: Value after initialization : X: 0 Y: 0 Enter Value of X: 23 Enter Value of Y: 24 Value after User Input : X: 23 Y: 24 Method 2: Value after initialization : X: 0 Y: 0need an explanation for this answer? contact us directly to get an explanation for this answer