Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        void main()
        {
            float x = 0.1;
            if (x == 0.1)
                printf("Sanfoundry");
            else
                printf("Advanced C Classes");
        }

  2. A.
    Advanced C Classes
    B.
    Sanfoundry
    C.
    Run time error
    D.
    Compile time error

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    None.


Be The First To Comment