

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code? #include <stdio.h> int main() { int k = 10, L = 11; int *num[] = {&k, &L}; printf("%d", (*num)[0]); return 0; } |
A. | Compilation Error |
B. | Garbage value |
C. | Segmentation fault |
D. | Undefined behaviour |
E. | 10 |
Answer» F. | |