Examveda

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;
}

A. true

B. true only if NULL value is 0

C. Compile time error

D. Nothing

Answer: Option A


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function