What is the use of "Returning Value from the Function" in the If else statement ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the use of "Returning Value from the Function" in the If else statement ?

23rd Oct 2019, 4:00 AM
Rajan K
Rajan K - avatar
3 Answers
+ 3
It mean you want to terminate the function and return program control and optionally a value to the point of invocation.
23rd Oct 2019, 7:13 AM
Sonic
Sonic - avatar
+ 1
Why not google it?
23rd Oct 2019, 5:06 AM
Trigger
Trigger - avatar
+ 1
You'll learn more if you go research the questions you keep asking
23rd Oct 2019, 5:08 AM
Trigger
Trigger - avatar