What will be the output of the following C code?
#include <stdio.h>
int *i;
int main()
{
if (i == NULL)
printf("true\n");
return 0;
}
#include <stdio.h>
int *i;
int main()
{
if (i == NULL)
printf("true\n");
return 0;
}A. true
B. true only if NULL value is 0
C. Compile time error
D. Nothing
Answer: Option A

Join The Discussion