Код: Выделить всё
int scores[] {1,2,3,4};
int *score_ptr {scores};
//let's say that initial value of score_ptr is 1000
std::cout
1
Как и почему это дает мне выход 1 вместо 2 ?
Подробнее здесь: https://stackoverflow.com/questions/626 ... ociativity
Код: Выделить всё
int scores[] {1,2,3,4};
int *score_ptr {scores};
//let's say that initial value of score_ptr is 1000
std::cout
1