Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        int main()
        {
            int a = 10, b = 5, c = 3;
            b != !a;
            c = !!a;
            printf("%d\t%d", b, c);
        }
  2. A.
    5  1
    B.
    0  3
    C.
    5  3
    D.
    1  1

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    None.


Be The First To Comment