Q. What is the output of the below code?
#include <stdio.h> int main() { int arr[5]={10,20,30,40,50}; printf("%d", arr[5]); return 0; }
#include <stdio.h> int main() { int arr[5]={10,20,30,40,50}; printf("%d", arr[5]); return 0; }
Anonymous Quiz
67%
A. Garbage value
4%
B. 10
8%
C. 50
21%
D. None of the above