Wednesday, October 15, 2014

#codingexercise:
size_t strlen (char* pc)
{
If (!pc) return -1;
size_t count = 0;
while (*pc) {
    pc++;
    count++;
}
return count;
}


No comments:

Post a Comment