Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        void main()
        {
            int x = 4.3 % 2;
            printf("Value of x is %d", x);
        }
  2. A.
    Value of x is 1.3
    B.
    Value of x is 2
    C.
    Value of x is 0.3
    D.
    Compile time error

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    None.


Be The First To Comment