Computer Science, asked by PragyaTbia, 1 year ago

To return back from a function, we must use return statement. State Whether True or False

Answers

Answered by Nanny55
7
true we can
Tell me in which class do yo read
Answered by letmeanswer12
0

"Statement is false ".        

Explanation :  

In program, after execution of the last statement of the 'called' function, control goes back to the 'calling' function even without using the return statement, if the return type of function is void.

That means, no return statement appears in a function definition, control automatically returns to the function after the last statement of the called function is finished executing.  

If a function has a return type other than void, then the return statement is a must.

So normally, it is not compulsory to use return statements in all the functions.

Similar questions