摘要:
返回较长的字符串 1 #include<stdio.h> 2 #include<string.h> 3 4 //method.1 5 /*int main() 6 { 7 char arr1[30],arr2[30]; 8 gets(arr1); 9 gets(arr2); 10 if (strle 阅读全文
摘要:
1 #include <stdio.h> 2 int main(){ 3 char str[20] = "c.biancheng.net"; 4 char *s1 = str; 5 char *s2 = str+2; 6 char c1 = str[4]; 7 char c2 = *str; 8 c 阅读全文