R

Ravina • 3.96K Points
Extraordinary

Q. Which method appends one vector to another?

  • (A) merge()
  • (B) append()
  • (C) push_all()
  • (D) extend()
  • Correct Answer - Option(B)
  • Views: 8
  • Filed under category Rust
  • Hashtags:

Explanation by: Ravina
append() moves all elements from one vector to the end of another.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.