MCQOPTIONS
Saved Bookmarks
| 1. |
Predict the output of the following program: #include <iostream.h> Class Red { int x; } int main() { Red r; cout <<<r.x; return 0; } |
| A. | Run time Error |
| B. | 0 |
| C. | Compiler Error |
| D. | Garbage Value |
| Answer» D. Garbage Value | |