Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char *ft_strupcase(char *str)
- {
- unsigned int i;
- i = 0;
- while (str[i] != '\0')
- {
- if (str[i] >= 'a' && str[i] <= 'z')
- str[i] = str[i] - 32;
- ++i;
- }
- return (str);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement