4. What does the following program do? 1 // Ex. 8.13: ex08_13.cpp 2 // What does this program do? 3 #include
Posted: Fri May 20, 2022 10:46 am
4. What does the following program do? 1 // Ex. 8.13: ex08_13.cpp 2 // What does this program do? 3 #include <iostream> 4 using namespace std; 5 6 void mysteryl( char *, const char * ); // prototype 7 8 int maino 9 char string1[ 80 ]; char string2[ 80 ); 10 11 12 13 cout << "Enter two strings: 14 cin >> string1 >> string2; 15 mysteryl( string1, string2 ); 16 cout << stringi << endl; 17 } // end main 18 19 // What does this function do? 20 void mysteryl( char 451, const char *52) 21 { 22 while (1 != '\0') 23 ++51: 24 25 for (; *s1 - *52); +51, ++52 ) 26 ; // empty statement 27 } // end function mystery1