Sail E0 Webinar
Question
What is the output of this C code?

    void main()

    {

        int i = 5, k;

        if (i == 0)

            goto label;

           label: printf("%d", i);

            printf("Hey");

    }

Options:
A .  5
B .  Hey
C .  5 Hey
D .  Nothing
Answer: Option C


none



Was this answer helpful ?

Submit Solution

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

Latest Videos

Latest Test Papers