Advertisement
Guest User

Untitled

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