Q630
Which of the following(s) is/are the correct way of assigning values to a forward_list f?
A.
f.assign({1,2,3,4,5})
B.
f.assign(10,5)
C.
both f.assign({1,2,3,4,5}) and f.assign(10,5)
AnswerD.
f.assign(1,1,1,1)
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board