Q. Comment on the output of following C code.
Code:#include <stdio.h>
main()
{
char *p = 0;
*p = 'a';
printf("value in pointer p is %c\n", *p);
}
β
Correct Answer: (D)
Run time error