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
Keneth
6 months agoVenita
5 months agoWhitley
5 months agoMilly
6 months agoBettina
6 months agoJaclyn
6 months agoRoosevelt
6 months agoHyun
6 months agoRonald
7 months agoSelene
7 months agoJacquline
7 months agoMicaela
7 months agoMartina
6 months agoYuette
6 months agoYuette
6 months agoPeggie
6 months agoBilly
6 months agoKarrie
6 months ago