Sail E0 Webinar
Question
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");

    }

Options:
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
Answer: Option D


none



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers