/* * strupr.c */ #include #include char* strupr(char *s) { unsigned char *c = s; while (*c) { *c = toupper(*c); c++; } return s; }