700+ câu trắc nghiệm Ngôn ngữ lập trình C có đáp án - Phần 13

What is output? void main() { printf("%d ", 1); goto l1; printf("%d ", 2); l1:goto l2; printf("%d ", 3); l2:printf("%d ", 4); getch(); }

2/25

What is output? void main() { printf("%d ", 1); goto l1; printf("%d ", 2); l1:goto l2; printf("%d ", 3); l2:printf("%d ", 4); getch(); }

1 4

1 2 3 4

Syntax error

Syntax error

Giải thích

Chọn đáp án A