What does the return function do in C
Answers
Answered by
3
Function in C Language →
When we make any lengthy program, we break the program into some parts that are called Functions.
There are two types Functions in C language
- User Defined Functions
- Library Functions.
There are two types of User Defined Functions in C language →
- Return Type Function.
- Not Return Type Function
Return Type Function →
Return Type Function are the function that return the control to the calling function. A return Type Function return the value to the calling function.
For return Type Function , we use int . And for returning the value , we use return() statement.
Note → A function can return only one value. Array can not be returned by any function.
__________________________
───── ❝ TheEnforceR ❞ ─────
Mark as Brainliest !! ✨✨
Answered by
0
Answer:
The return statement terminates the execution of a function and returns control to the calling function. Execution resumes in the calling function at the point immediately following the call. A return statement can also return a value to the calling function.
Similar questions
Social Sciences,
4 months ago
History,
4 months ago
Computer Science,
4 months ago
Math,
9 months ago
Physics,
1 year ago
English,
1 year ago