The following code terminates abruptly when the printf is uncommented, but works fine with printf commented out. Isn't it supposed to terminate as soon as the control reaches line no.7 (irrespective of printf commented or otherwise)??
Code:#include<stdio.h> int main() { int *p, i; p = (int*)0x1234; i = *p; //printf("%d",i); }