What is the output of the following program?
#include
using namespace std; // Function Prototype void mess(char []); int main(){ char stuff[] = "Tom Talbert Tried Trains"; cout ≪ stuff ≪ endl; mess(stuff); cout ≪ stuff ≪ endl; return 0;} // Definition of function mess void mess(char str[]){ int step = 0; while (str[step] != '\0'){ if (str[step] == 'T') str[step] = 'D'; step++;}}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.