Computer Science, asked by aniketkumar30, 1 month ago

describe the rules for declearing in function c language​

Answers

Answered by RohanMadake
0

Explanation:

p7rr7pr7po7rpr77rp7pt

Answered by kajalpal1975
0

Answer:

Syntax:-

return_type function_name(parameters... ) {

body...

}

For example,

int add(int a, int b) {

return a+b;

}

Return Type:- The data type of the value a function returns.

Here, it is int

Function Name:- It is an identifier which represents the name of the function. The function is identified by this name. Here, it is add

Parameters:- The values which a function accepts from the caller. Here they are two int variables a and b

Body:- All the statements written in the function. Here it is:-

return a+b

Please mark me as the brainliest.

Similar questions