What is the output of the following with reference to the following program segment?

b) What is the output of the following with reference to the following program segment?
int x[3][5] = {
{1, 2, 3, 4, 5},
{6, 7, 8, 9, 10},
{11, 12, 13, 14, 15}
},*n=&x;
1. *(*x + 2) + 5
2. *(*(x + 1))
3. *(*(x) + 2) +1
4. *(*(x+1) +3)
5. *n
6. *(n+2)
7. ++*n
8. *(n+5) + 1

Leave a Reply