What is the effect of the following code:

1.5 What is the effect of the following code:
main() { int a[4] = {1,5};
printf(“%d”, a[3]); }
A) 0
B) Syntax error because of improper initialization
C) 5
D) Syntax error because of invalid index


Leave a Reply