

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code?#include <stdio.h> int main() { int array[3] = {16, 17, 18}; int *p = &array[1]; float m = 1; p = p + m; printf("%d n", *p); } |
A. | 16 |
B. | 17 |
C. | 18 |
D. | Compilation Error |
E. | Garbage value |
Answer» E. Garbage value | |