A

Admin • 833.24K Points
Coach

Q. Which function adds an element to the end of a vector?

  • (A) push()
  • (B) append()
  • (C) insert()
  • (D) add()
  • Correct Answer - Option(A)
  • Views: 30
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin

`push()` appends an element to the end of a vector.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.