0
Which is correct and why?
t [2]=&t [2][0] or &t[2]=&t [2][0]
1 Odpowiedź
+ 2
Namash Aggarwal seems second is right to me that is &t[2] = &t[2][0]
Looking into the indices you have used on t variable, it seems it is two dimensional array.... Now if you recall that array name represents first element of array, we can say below:
t[2] is same as t[2][0]
Now apply address of operator on left side and right side makes second option in your question as correct option..