daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Aug 11th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int
  2. strcmp(char *needle, char *haystack) {
  3.     for (int i = 0; needle[i] && haystack[i]; ++i) {
  4.         if (needle[i] != haystack[i])
  5.             return 0;
  6.     }
  7.  
  8.     return 1;
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top