全部博文(34)
分类:
2010-12-09 10:18:35
题目1-5都是错误的,请问为什么?
1. strcat (string,’!’)
2. char *string; if(string == “value”);
3. char a[14];a = “Hello,World!”;
4. char *str1 = “Hello,”;char *str2 = “World”;char *str3 = strcat(str1,str2);
5. char a[] = “string test”;char *p = “string test”;p[i] = “a”;
6. sizeof(‘a’) = 4 还是 1?
ghoststears2010-12-09 15:14:28
Mr_Yao2010-12-09 15:06:47