Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC++vector basicsSingle-choice MCQ

What is the difference between `v[5]` and `v.at(5)` on a vector of size 3?

std::vector<int> v = {1, 2, 3};