engineering recuitment ISRO Scientist Computer Science Mock Test Programming and Data Structure Programming in C Array
Consider the following ANSI C program.
#include
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;
}
}
print("%d", *(arr[1] + 9));
return 0;
}
What is the output of the above program?
1
14
2
20
3
30
4
24