int f1(int a, int b) { return(f2(20)); } int f2(int a) { return a*a; } Will the following functions work?

int f1(int a, int b)

{

return(f2(20));

}

int f2(int a)

{

return a*a;

}

Will the following functions work?

A. Yes

B. No

Hướng dẫn

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

Xem lời giải

Xem lời giải

Vì hàm f2 được gọi trước khi được define. Nên khai báo hàm f2()

 

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