有以下程序#include <stdio.h>#include <string.
2024-07-20 66次 计算机二级 反馈错误 加入收藏 正确率 : 100%
题目内容:
[单选题]有以下程序
#include <stdio.h>
#include <string.h>
main()
{ char a[10]="abcd";
printf("%d,%d/n",strlen(a),sizeof(a));
}
程序运行后的输出结果是
A.)7,4
B.)4,10
C.)8,8
D.)10,10
本题链接: