Advertisement
Vitamin4eg

Untitled

Oct 22nd, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. char *ft_strupcase(char *str)
  2. {
  3. unsigned int i;
  4.  
  5. i = 0;
  6. while (str[i] != '\0')
  7. {
  8. if (str[i] >= 'a' && str[i] <= 'z')
  9. str[i] = str[i] - 32;
  10. ++i;
  11. }
  12. return (str);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement