Vidyalelo
C Programming · Q137

Structure and Union

Programming · C Programming · question 137

Q137

What will be the output of the following C code? #include void main() int lookup[100] = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; printf("%d", lookup[3]);

A.
2
B.
4
C.
Compile time error
D.
3
Answer

Answer: Option D

Solution

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