int func(int arr[]); int func(int arr[20]); Is there any difference in the following declaration?

int func(int arr[]);

int func(int arr[20]);

Is there any difference in the following declaration?

A. Yes

B. No

Hướng dẫn

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

Xem lời giải

Xem lời giải

Câu lệnh int func(int arr[]) chấp nhận đầu vào là mảng nguyên với kích thước bất kì.

Câu lệnh int func(int arr[20]) chấp nhận đầu vào là mảng nguyên với kích thước là 12.

 

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