MCQOPTIONS
Saved Bookmarks
| 1. |
Predict the output?#include using namespace std;class Test{ int x; Test() { x = 5; } };int main(){ Test *t = new Test; cout x;} |
| A. | Compiler Error |
| B. | 5 |
| C. | Garbage Value |
| Answer» B. 5 | |