Q229
What will be the output of the following C code? #include int main() int x = 3; //, y = 2; const int *p = &x; *p++; printf("%d ", *p);
A.
Increment of read-only location compile error
B.
4
C.
Some garbage value
AnswerD.
Undefined behaviour
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board