R

Ram Sharma • 193.86K Points
Coach

Q. Output of following C++ program?

Code:
class Test {
int x;
};
int main() {
Test t;
cout << t.x;
return 0;
}
  • (A) 0
  • (B) Garbage Value
  • (C) Compiler Error
  • (D) None of these

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.