It is very simple :laugh: and fun ..
just divide the line before and after * , like
const int * p
const int (before *) represent [constant integer]
and *p represent a pointer
add both u get a pointer pointing to a constant integer , it means u can't change value but pointer can point to different address .
simiarly
int * const p
same way ...
go to here for best explanation
understand pointer