Page 1 of 1

Comment on the output of following C code. #include <stdio.h> main() { char *p = 0; *p = 'a';

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
a) It will print a
b) It will print 0
c) Compile time error
d) Run time error