#include<vector>
#include<iostream>
using namespace std;
int main(){
vector <int> v={1,2,3,4};
cout << v.size<< endl;
cout <<v.capacity()<<endl;
v.reserve(6);
cout << v.capacity()<<endl;
cout << v.max
}
To embed this project on your website, copy the following code and paste it into your website's HTML: