MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following program? #include<iostream.h> class IndiaBix { int x; public: IndiaBix(int xx, float yy) { cout<< char(yy); } }; int main() { IndiaBix *p = new IndiaBix(35, 99.50f); return 0; } |
| A. | 99 |
| B. | ASCII value of 99 |
| C. | Garbage value |
| D. | 99.50 |
| Answer» C. Garbage value | |