void main(){ int const *p=5; printf("%d", ++(*p));}
void main()
{
int const *p=5;
printf("%d", ++(*p));
}
6
5
Garbage Value
Compiler Error
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option D
Explanation :
p is a pointer to a "constant integer". But we tried to change the value of the "constant integer".
Be The First To Comment