describe the rules for declearing in function c language
Answers
Answered by
0
Explanation:
p7rr7pr7po7rpr77rp7pt
Answered by
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
English,
19 days ago
Math,
19 days ago
English,
1 month ago
Math,
9 months ago
Social Sciences,
9 months ago