0
int *const ptr1;
//and
const int* ptr2;
//and
int const* ptr3;

I was studying refrences so I heard about const pointers as a result I decided to create one, however only ptr1 resulted in const pointer and I can't understand the difference.

Zolo_Ryan
  • 51
  • 6

0 Answers0