a) v.end()
b) v.cend()
c) both v.end() and v.cend()
d) vectors do not have a function to access the last element
Which of the following(s) can be used to access the last element of a vector v?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which of the following(s) can be used to access the last element of a vector v?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!