【C语言试题】字符串结束符问题
char c[][8]={"apple","orange","banana"};
printf("%d,",sizeof(c));
printf("%d",strlen(c));
回答打印输出的内容。
原文链接 【【C语言试题】字符串结束符问题】字符串结束符问题
【C语言试题】字符串结束符问题
char c[][8]={"apple","orange","banana"};
printf("%d,",sizeof(c));
printf("%d",strlen(c));