char *str_upr(char*s){ char *t=s; while(*t) { if(*t>='a'&&*t<='z') { *t+='A'-'a'; } t++; } return s;}