Back to Multiple Choice Quiz
Summing Array Elements
C quiz · Question 40What does this code print?
Code
1int a[] = {10, 20, 30, 40};2printf("%d", a[2] + a[0]);
What does this code print?
1int a[] = {10, 20, 30, 40};2printf("%d", a[2] + a[0]);