What is the purpose of a return statement in a function?
A.Returns the value and continues executing rest of the statements, if any
B.Returns the value and stops the program
C.Returns the value and stops executing the function
D.Stops executing the function and returns the value
Answers
Answered by
2
the purpose of a return statement in a function is to Stop executing the function and returns the value
Answered by
0
Hello mate
here's your answer
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Option D ✔✔
Stops executing the function and returns the value is the purpose of a return statement of a function.
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Hope it helps you
here's your answer
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Option D ✔✔
Stops executing the function and returns the value is the purpose of a return statement of a function.
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Hope it helps you
Similar questions
Computer Science,
6 months ago
Physics,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
English,
1 year ago