struct Employee { char Code[], name[]; long Salary; }; Employee e1 = { “ E089”, “Hoang so”, 12000 }, e2 = e1; printf(“ % ld”, el.Salary + e2 -> Salary); Đâu là kết quả của đoạn mã sau:

struct Employee {

char Code[], name[];

long Salary;

};

Employee e1 = {

E089”,

“Hoang so”,

12000

}, e2 = e1;

printf(“ % ld”, el.Salary + e2 -> Salary);

Đâu là kết quả của đoạn mã sau:

A. 24000

B. 12000

C. Đoạn mã bị lỗi

D. Kết quả khác

Hướng dẫn

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

 

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