#include<stdio.h>
void main ()
{
int a=4;
const int *p=&a;
*p--;
}
in the above line it means that we can not change the value a via p, so in decrement statement it should give an error but it is not giving the error. can anyone explain why??