Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What will be the value of d in the following program?

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

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    None.


Be The First To Comment