a) push_back()
b) pop_back()
c) front()
d) end()
1 thought on “Which of the following function is used to insert an element at the end of a vector?”
Leave a Comment
You must be logged in to post a comment.
a) push_back()
b) pop_back()
c) front()
d) end()
You must be logged in to post a comment.
a
Explanation: Vector provides push_back() function to insert an element at its end.