1.

What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);}

A. Compiler time error
B. Segmentation fault/runtime crash
C. 10
D. Undefined behavior
Answer» B. Segmentation fault/runtime crash


Discussion

No Comment Found