Q. What is the purpose of a return statement in a function?

  • (A) Stops executing the function and returns the value
  • (B) Returns the value and stops executing the function
  • (C) Returns the value and stops the program
  • (D) Returns the value and continues executing rest of the statements, if any
πŸ’¬ Discuss
βœ… Correct Answer: (A) Stops executing the function and returns the value

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
244
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Vishal Gupta
Publisher
πŸ“ˆ
83%
Success Rate