vectorFlexible (resizable) array.Syntaxvector<Type> name = {...};Descriptionpush_back adds an item, size() gives the size, accessed with []. Requires <vector>.ExampleLoading editor…▶ Try it yourselfExpected output3 1When to use?Growing lists.Related commandsArrayRange-based for ( : )← Array