Vidyalelo
Data Structure · Q25

Arrays in Data Structures

Programming · Data Structure · question 25

Q25

What is the output of the following C code: int array[5] = 1, 2, 3, 4, 5; printf("%d", array[2]);

A.
1
B.
2
C.
3
Answer
D.
4

Answer: Option C

Solution

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