Похожие чаты

Whats "arr+4"?

10 ответов

35 просмотров

exatly the same as the previous line

'''''''-''''''' Автор вопроса
Alejandro
exatly the same as the previous line

But, in the previous line they r assigning the adress of the 5th element in the array to j right?

''''''' '''''''
But, in the previous line they r assigning the adr...

well yeah, its doing the same but assigning to k

The name of the array is also a pointer to its first position, so when you add + 4 to the first position it makes it go 4 steps inside the array

Arr+4=&arr[4]

'''''''-''''''' Автор вопроса
Manav
Arr+4=&arr[4]

So arr+0 is 10?

Похожие вопросы

Обсуждают сегодня

Карта сайта