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

Đầu ra của đoạn mã sau là gì? #include #include void main() { int s = 0; while (s++ < 10) { if (s < 4 && s < 9) continue; printf(" %d ", s); } getch(); }

14/25

Đầu ra của đoạn mã sau là gì? #include #include void main() { int s = 0; while (s++ < 10) { if (s < 4 && s < 9) continue; printf(" %d ", s); } getch(); }

>

1 2 3 4 5 6 7 8 9

3 4 5 6 7 8 9

4 5 6 7 8 9

4 5 6 7 8 9 10

Giải thích

Chọn đáp án D