Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <stddef.h>
  2.  
  3. size_t process_2(const char *str, const char *range) {
  4. size_t ans = 0;
  5. while (*str >= *range && *str <= *(range + 2) && *str != '\0') {
  6. ++str;
  7. ++ans;
  8. }
  9. return ans;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement