Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        int main()
        {
            int a = 20, b = 15, c = 5;
            int d;
            d = a == (b + c);
            printf("%d", d);
        }
  2. A.
    1
    B.
    40
    C.
    10
    D.
    5

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    None.


Be The First To Comment