C Language Exercises – Day 14
01 If there is an array int a[10];, the correct reference to the elements of the array a is A) a[10] B) a[3.5] C) a(5) D) a[10-10] Answer: D Explanation: For option A: Incorrect, the valid indices of the array are 0 to 9, a[10] is out of bounds and will lead to undefined behavior. … Read more