Computer Science, asked by ek5432, 7 months ago

is it possible that a function have more than one return statement (true/fasle) ​

Answers

Answered by rajrsharma2007
8

Answer:

True, A function may have any number of return statements each returning different values and each return statements will not occur successively.

Explanation:

I give you answer now it is your duty to mark me as a brianliest please follow me on brainly thanks my 10 answers

Answered by jnsthakur2021
1

Answer:

even if you enter many return statements in a program, it will evaluate only one. so answer can be false also and true also from both the extremes.

to say in a nutshell , a function can have many return statements but if any one of them evaluates, the function terminates.

hope it helps

regards

Similar questions