MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following program? #include<iostream.h> class IndiabixSample { public: int a; float b; void BixFunction(int a, float b, float c = 100.0f) { cout<< a % 20 + c * --b; } }; int main() { IndiabixSample objBix; objBix.BixFunction(20, 2.000000f, 5.0f); return 0; } |
| A. | 0 |
| B. | 5 |
| C. | 100 |
| D. | -5 |
| E. | None of these |
| Answer» C. 100 | |