程序运行后的输出结果是()。#include<stdio.h>#include<string.h>main(){chara[10]=”abcd”;printf(“%d,%d\n”,strlen(a),sizeof(a));}
程序运行后的输出结果是()。#include<stdio.h>#include<string.h>main(){chara[10]=”abcd”;printf(“%d,%d\n”,strlen(a),sizeof(a));}
A.7,4
B.10,10
C.8,8
D.4,10
正确答案:D