A

Admin • 833K Points
Coach

Q. What happens when a panic occurs in Rust?

  • (A) Program hangs
  • (B) Program continues
  • (C) Thread unwinds or aborts
  • (D) Compiler ignores it
  • Correct Answer - Option(C)
  • Views: 21
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

A panic causes stack unwinding or aborts the current thread.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.