vector pair initialize with 0 code example Example: vector of pairs declaration in cpp vector<pair<int,int>>v;