Sail E0 Webinar
Question
What is the output of the code given below?

   int main()

    {

       printf("%d ", 1);

        goto l1;

        printf("%d ", 2);

        l1:goto l2;

        printf("%d ", 3);

        l2:printf("%d ", 4);

   }

Options:
A .  1   4
B .  Compilation error
C .  1   2   4
D .  1   3   4
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