Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Problem 10 GROUP 3*/
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- int equalCharCount(char* s,char* ss){
- if(! ((*s) * (*ss) * ((*s)==(*ss))) )return 0;
- return 1+equalCharCount(s+1,ss+1);
- }
- int main(){
- printf("%d\n",equalCharCount("hellhaffoHowAreYou","hellhaffoHowaj"));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement