Computer Science, asked by manjumishra6367, 9 months ago

What does the return function do in C

Answers

Answered by Anonymous
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

  1. User Defined Functions
  2. Library Functions.

There are two types of User Defined Functions in C language

  1. Return Type Function.
  2. 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 anutwins2626
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