Quiz on Complex Data Types
This short quiz deals with complex data structures like arrays and structures.
We'll cover the following...
1
What value would be stored in the variable res
?
int arr[] = {4, 7, 10, 3, 19, 6, 5};
int res = arr[5] + arr[1];
A)
23
B)
13
C)
26
D)
10
Question 1 of 30 attempted