Multiple Choice
Suppose you have a shopping list stored in a vector. What function would you use to remove all items in that vector that are under 10 dollars and place them in another container?
A) remove
B) remove_copy
C) remove_if
D) remove_copy_if
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q11: The order of the arguments passed to
Q12: Which of the following is a valid
Q13: Which algorithm cannot take a predicate function
Q14: Function objects have their functions called by
Q15: The easiest way to set all the
Q17: Which of the following statements is false?<br>A)
Q18: Lambdas begin with the lambda introducer _,
Q19: Given that v1 and v2 are vectors,
Q20: The for_each function applies a general function
Q21: Which of the following function calls is