模擬實現strcmp

#include <stdio.h> #include <stdlib.h> #include <assert.h> int mystrcmp(const char *src, const char *dst) { int ret = 0; assert(src != NULL); assert(dst != NULL); while (!(ret = *(unsigned char *
相關文章
相關標籤/搜索