1.  int func(int a, int b) { /*Some code*/ } 2.  int func(a, b) int a; int b; { /*Some code*/ } What is the notation for following functions?

1. 

int func(int a, int b)

{

/*Some code*/

}

2. 

int func(a, b)

int a; int b;

{

/*Some code*/

}

What is the notation for following functions?

A. 1. KR Notation and 2. ANSI Notation

B. 1. Pre ANSI C Notation and 2. KR Notation

C.  1. ANSI Notation and 2. KR Notation

D. 1. ANSI Notation and 2. Pre ANSI Notation

Hướng dẫn

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

 

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

Đánh giá chủ đề này