Vidyalelo
C Programming · Q236

Pointer

Programming · C Programming · question 236

Q236

What will be the output of the following C code? #include int main() int i = 0, j = 1; int *a[] = &i, &j; printf("%d", *a[0]); return 0;

A.
Compile time error
B.
Undefined behaviour
C.
0
Answer
D.
Some garbage value

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board