Consider the following C program
int main()
{
int a[2][3] = {{3,2,3},{4,5,6}};
printf("%d %d",a[1] - a[0], a[1][0] - a[0][0]);
return 0;
}
Output of the above code is1
1, 1
2
2, 1
3
3, 1
4
2, 2
Consider the following C program
int main()
{
int a[2][3] = {{3,2,3},{4,5,6}};
printf("%d %d",a[1] - a[0], a[1][0] - a[0][0]);
return 0;
}
Output of the above code is