#include int main() { int w = 3; int x = 31; int y = 10; double z = x / y % w; printf(“%fn”, z); return 0; } Cho đoạn chương trình sau. Kết quả trả về là:

#include

int main() {

int w = 3;

int x = 31;

int y = 10;

double z = x / y % w;

printf(“%fn”, z);

return 0;

}

Cho đoạn chương trình sau. Kết quả trả về là:

A. 1

B. 0

C. 0.1

D. 2

Hướng dẫn

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

 

Thư viện tài liệu12 Tháng bảy, 2023 @ 2:25 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