Except that strlen will not increment a counter, but rather use pointer arithmetic:
Code:size_t __cdecl strlen(const char* str) { const char *run; for(run=str;*run;++run); return run - str; }
|
Results 1 to 10 of 10
Thread: PointersThreaded View
|
Click Here to Expand Forum to Full Width |