Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        int *i;
        int main()
        {
            if (i == NULL)
                printf("true\n");
            return 0;
        }
  2. A.
    true
    B.
    true only if NULL value is 0
    C.
    Compile time error
    D.
    Nothing

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    None.


Be The First To Comment