Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ctype.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <inttypes.h>
- size_t process_2(const char *str, const char *range) {
- size_t ans = 0;
- while (*str >= *range && *str <= *(range + 2) && *str != '\0') {
- ++str;
- ++ans;
- }
- return ans;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement