What does this function do ?
What does this function do ?
Any compile-time errors / run-time errors? void mystery(char * s){ char * t; int c; for (t=s+(strlen(s)-1);s<t;s++, t--) { c = *s; *s = *t; *t = c; }}…mystery(s);printf(‘%s\n”,s);
Previous slide
Next slide
Back to first slide
View graphic version