Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        int *i;
        int main()
        {
            if (i == 0)
                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 B

    Explanation :

    None.


Be The First To Comment