I was working with c puzzles, and came across this question . In here , a at printf statement the pointer gets incremented once, so i thought it will be pointing to the random number ! but I cant understand why 25 is the output? could anyone please help me understand ? Many thanks in advance;)
void main()
{
int const * p=5;
printf("%d",++(*p));
}
Answer: 25