C语言中比较字符串大小

使用指针比较数组大小,编译器采用的是Code:Block。程序以下: #include <iostream> using namespace std; int main () {     char table1[100], table2[100];     char *s1, *s2;     s1 = table1;     s2 = table2;     int flag = 0;    
相关文章
相关标签/搜索