1.

What will be the output of the following C code?#include <stdio.h> int main() { N(num); } void N(int **num) { int n1 = 15, n2 = 15, n3 = 12; int *num[2]; num[0] = &n1; num[1] = &n2; printf("%d n", num[0][1]); }

A. 15
B. Undefined behaviour
C. Compilation Error
D. Garbage value
E. None of these
Answer» D. Garbage value


Discussion

No Comment Found