Sail E0 Webinar
Question
Comment on the following code below?

    void main()

    {

       int x = 5;

        if (true);

            printf("hello");

    }

Options:
A .  It will display hello
B .  It will throw an error
C .  Nothing will be displayed
D .  Compiler dependent
Answer: Option B


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