A

Admin • 670.22K Points
Coach

Q. Which of the following keywords is used to exit a function early?

  • (A) break
  • (B) continue
  • (C) exit
  • (D) return
  • Correct Answer - Option(D)
  • Views: 1
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Admin
`return` exits a function and optionally returns a value.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.