Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. Comment on the output of this C code?


        int main()

        {

            int a = 1;

            if (a)

                printf("All is Well ");

                printf("I am Well\n");

            else

                printf("I am not a River\n");

        }

  2. A.
    Output will be All is Well I am Well
    B.
    Output will be I am Well I am not a River
    C.
    Output will be I am Well
    D.
    Compile time errors during compilation

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    none


Be The First To Comment