Hello all,
I am confused why my program terminate at the second print statement.
and also why the first printf output will be 6.I think 6 will be output for the 2nd printf.Code:int main() { int const *p=6; int i = 0; printf("\np:%d",p); printf("\np:%d",(*p)); getch(); }
Thanks,
Gunjan