Question

What is the output of code given below?    int main()    {       printf("%d ", 1);        goto l1;        printf("%d ", 2);    }    void foo()    {        l1 : printf("3 ", 3);    }

  • 1  2  3
  • 1  3
  • 1  3  2
  • Compilation Error (Correct Answer)

Answer is "Compilation Error"

2 Answer and explanations

You don't need to login to post your comment
168
Vivek

how did the answer came

179
Andrew

please anyone explain this answer

Post your answer

You don't need to login to post answer






Ask Question


Note: Options are optional, you can leave them blank