Discussion :: Objects and Classes
-
Which of the following statement is correct about the program given below?
#include
cout } }; int Freshergate::x = 0;
int main() { Freshergate::SetData(44); Freshergate::Display(); return 0; }
A.
The program will print the output 0. |
B.
The program will print the output 44. |
C.
The program will print the output Garbage. |
D.
The program will report compile time error. |
Answer : Option B
Explanation :
No answer description available for this question.
Be The First To Comment