#include char *strupr(char *s) { char *p = s; while (*s) { if ((*s >= 'a') && (*s <= 'z')) *s += 'A'-'a'; s++; } return p; }