What is the equivalent of a[5] notation (not in the definition) ?
Explanation
a[b] notation is equivalent to *(a + b) and b[a]. Not necessarily array should be placed to the left of squared brackets - any pointer may be placed there. For example, (a + 2)[3] or (a + 3)[2] can be written, and it will be equivalent to a[5]. (a + 2) notation means «shift the а pointer by two ints».

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести