A

Admin • 828.03K Points
Coach

Q. Which operator is used to unwrap an optional forcefully?

  • (A) ?
  • (B) !
  • (C) ?.
  • (D) ??
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category Swift (iOs)
  • Hashtags:

Explanation by: Admin
The `!` operator force unwraps an optional. Use it cautiously to avoid runtime crashes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.