Question: What is the output of this program? #include using namespace std; class Test { int x; }; int main() { Test t; cout <
What is the output of this program? #include using namespace std; class Test { int x; }; int main() { Test t; cout < < t.x; return 0; recall that by default, class members are private. Select one: a. O b. Ox***(an address in memory) c. compile error d. Garbage value
Step by Step Solution
3.44 Rating (147 Votes )
There are 3 Steps involved in it
The detailed answer for the above question is provided below Id be glad to explain the output and th... View full answer
Get step-by-step solutions from verified subject matter experts
