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

What is output? #include #include #define PRINT(i, limit) do \ { \ if (i++ < limit) \ { \ printf("laptrinhc++"); \ continue; \ } \ }while(1) void main() { PRINT(0, 3); getch(); }

17/25

What is output? #include #include #define PRINT(i, limit) do \ { \ if (i++ < limit) \ { \ printf("laptrinhc++"); \ continue; \ } \ }while(1) void main() { PRINT(0, 3); getch(); }

>

‘laptrinhc++’ is printed 3 times

‘laptrinhc++’ is printed 2 times

Complier error

Giải thích

Chọn đáp án C