In order to properly answer this question, you can use a simple rule. It is necessary to read the classified function argument from right to left:
int const * x // x is a pointer to a const int (can not change the value of the variable to which the pointer points // 1)
int * const y // y is a constant pointer to int (can not change the value of the pointer // 4)
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать