+ 1

why can we write a array (name_array[index]) like that : index[name_array] ?

10th Jun 2019, 8:36 PM
RATIARIVELO Nekena Rayane
RATIARIVELO Nekena Rayane - avatar
2 Respostas
+ 6
arr[4] is the same as *(arr+4). Which is equivalent to *(4+arr). Which is equivalent to 4[arr].
10th Jun 2019, 8:40 PM
Anna
Anna - avatar
0
thanks :)
10th Jun 2019, 8:43 PM
RATIARIVELO Nekena Rayane
RATIARIVELO Nekena Rayane - avatar