MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? #include void foo(float *); int main() { int i = 10, *p = &i; foo(&i); } void foo(float *p) { printf("%f n", *p); } |
| A. | 10.000000 |
| B. | 0.000000 |
| C. | Compile time error |
| D. | Undefined behaviour |
| Answer» C. Compile time error | |