?
Determine output:
Determine output:
void main()
{
int const *p=5;
printf("%d", ++(*p));
}
void main()
{
int const *p=5;
printf("%d", ++(*p));
}
Answer & Solution
Correct Answer:
Option
D
p is a pointer to a "constant integer". But we tried to change the value of the "constant integer".
Join the Discussion
Login to post a comment or share your explanation.
Loginint const *p=&i;
this is pointer to const or not