All pastes #452250 Raw Edit

Unnamed

public c v1 · immutable
·published 2007-04-22 03:58 UTC
rendered paste body
int areDuplets(char*wordA,char*wordB){int a,b,len,i,ret;a=strlen(wordA);b=strlen(wordB);if(a!=b)return 0;len=(a<b?a:b)for(i=0;((i<len)&&(*(wordA+i)==*(wordB+i)));i++)return(i<len-1?0:1)}