Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // function to convert string to lowercase
- void decapitalize(char *sent)
- {
- char *start;
- start=sent;
- while(*sent != '\0')
- {
- if(*sent < 90 && *sent > 64)
- {
- *sent= *sent+32;
- sent++;
- }
- else
- {
- sent++;
- }
- }
- sent=start;
- }
Add Comment
Please, Sign In to add comment