Arrays
1. In C programming, Arr[1] refers to which element of an array Arr?
2. The first element of an array is referred to by which index?
3. The index of the last element of an array of size n elements is:
4. Which of the following is a valid way to declare a 2D array in C?
5. What will be the output of the following code?
int arr[3] = {1, 2, 3};
printf("%d", arr[3]);
6. Which of the following best describes the time complexity of accessing an element in an array by index?