Consider the following ANSI C program.
#include <stdio.h>
int main() {
int arr[4][5];
int i, j;
for (i = 0; i < 4; i++) {
for (j = 0; j < 5; j++) {
arr[i][j] = 10 * i + j;
}
}
printf("%d", *(arr[1] + 9));
return 0;
}
What is the output of the above program? GATE CSE || 2021 SET2 || 1 MARK
14
24
30
20
This question is part of this quiz :
GATE|| C Programming & Data Structure || Pyqs (2010 to 2025 )