Discussion :: Objects and Classes
-
Which of the following statement is correct about the program given below?
#include
} }; int main()
{ GateData objData(1, 2, 3); objData.Show(); return 0; }
A.
The program will print the output 1 2 3. |
B.
The program will print the output 2 3 4 . |
C.
The program will print the output 4 5 6. |
D.
The program will report compile time error. |
Answer : Option B
Explanation :
No answer description available for this question.
Be The First To Comment