Hello Everyone!
I am trying to compile following code in C but it is showing compile time error message
Cannot modify a constant value. Is there any one who can explain that error and suggest how can i resolve it? Here is its code.
void main()
{
int const * p=5;
printf("%d",++(*p));
}
Please friends need your guidance.
Thanks