deba@umcp-cs.UUCP (04/16/84)
The following program comes from K&R ( Page-135)
hash(s)
char *s;
{
int hashval;
for (hashval=0;*s != '\0';) hashval += *s++;
return(hashval);
}
Question 1:
How can I add two characters at a time rather than one
character ?
Question 2:
Is it possible to use ^excusive or^ operations on two
strings ( each 2 characters long ) ?
thanks, deba@MARYLAND