#include #include int print(int i); void main() { int i = 6; while(print(i) || –i); getch(); } int print(int i) { printf(“%d, “, i); return 0; } What is output?

#include

#include

int print(int i);

void main()

{

int i = 6;

while(print(i) || –i);

getch();

}

int print(int i)

{

printf(“%d, “, i);

return 0;

}

What is output?

A. 6, 5, 4, 3, 2, 1,

B. 6, 5, 4, 3, 2, 1, 0,

C. Complier Error

D. Infinite loop

Hướng dẫn

Chọn A là đáp án đúng

 

Thư viện tài liệu12 Tháng bảy, 2023 @ 3:04 chiều

Đánh giá chủ đề này
How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site