MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? #include <stdio.h> int main() { int num = 110; void *ptr = &num; printf("%f n", *(float*)ptr); return 0; } |
| A. | 110 |
| B. | Undefined behaviour |
| C. | Garbage value |
| D. | Compilation Error |
| E. | 0.000000 |
| Answer» F. | |