Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        int main()
        {
            int a = 20;
            double b = 15.6;
            int c;
            c = a + b;
            printf("%d", c);
        }
  2. A.
    35
    B.
    36
    C.
    35.6
    D.
    30

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    None.


Be The First To Comment