MCQOPTIONS
Saved Bookmarks
| 1. |
Trace the output.#include< iostream.h># define SQUARE(x) x*x inline float square(float y) { return y*y; } int main( ){float a = 0.5, b = 0.5, c, d; c = SQUARE(++a);d = square(++b);cout |
| A. | 6.25, 2.25 |
| B. | 2.25, 2.25 |
| C. | Compile time error. |
| D. | None of the above. |
| Answer» B. 2.25, 2.25 | |