Q.

class Test {
int x;
};
int main() {
Test t;
cout << t.x;
return 0;
}

A. 0
B. Garbage Value
C. Compiler Error
D. None
Answer» C. Compiler Error
1.5k
0
Do you find this helpful?
9

View all MCQs in

CPP Programming

Discussion

No comments yet

Related MCQs