Posts by Rildo Pragana • 1 point
1 post
-
0
votes1
answer234
viewsQ: Why does this seemingly simple implementation of "strupr" not work?
Error implementation in GCC: char* strupr( char *str ) { while(*str) { *str++ = toupper(*str); } } Note that str is used twice in the assignment.…