What happens when you attempt to compile and run the following code?
#include
using namespace std;
int main()
{
string s1[]= {"How" , "to" };
s1[0].swap(s1[1]);
for (int i=0; i<2; i++) {
cout << s1[i];
}
return( 0 );
Limited Time Offer
25%
Off
Willetta
6 months agoLynelle
5 months agoFabiola
6 months agoAbel
6 months agoDeandrea
6 months agoAlfreda
5 months agoBlair
6 months agoJacqueline
6 months agoKris
6 months agoMagda
6 months agoFrank
6 months agoDeandrea
6 months agoTijuana
6 months agoDahlia
6 months agoFernanda
6 months agoBrice
7 months agoLong
7 months ago