What will happen when you attempt to compile and run the following code?
#include
#include
#include
using namespace std;
int main(){
int myints[] ={ 3, 4, 2, 1, 6, 5, 7, 9, 8, 0 };
set
multiset
s1.insert(s.begin(),s.end());
s1.erase(s1.lower_bound(2),s1.upper_bound(7));
for(multiset
cout<<*i<<" ";
}
return 0;
}
The output will be:
Currently there are no comments in this discussion, be the first to comment!