Sail E0 Webinar
Question
The output of the code below is?

    void main()

    {

        int x = 5;

        if (x < 1)

            printf("hello");

        if (x == 5)

            printf("hi");

        else

            printf("no");

    }

Options:
A .  hi
B .  hello
C .  no
D .  None of the mentioned
Answer: Option A


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