void main()
{
int const*p=5;
printf("%d",++(*p));
}
What is the O/P of the folloeing C Program?
It ans will be cannot modify constant.(Compiler ERROR)
Reply:Program won't compile.
Error: Cannot modify read-only location
Reply:this program has got a very important error.
in modifieng veribals u can't use math symbols (*).
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment