Ohhhh
i got it.
first const int * ptr;
means we can not change the the value of *ptr . we can change the ptr means address can change.
Example
#include <stdio.h>
int main ()
{
int i=8;
const int *ptr=&i;
*ptr=9;
printf("%d",*ptr);
}
second int * const ptr;
means we can not change the address mean we can not change ptr value;
Example
#include <stdio.h>
int main ()
{
int i=8;
int * const ptr=&i;
*ptr=10;
int j=150;
ptr=&j;
printf("%d",*ptr);
}