有以下程序:# include <stdio.h># include <string.h>main(){char x[]="STRING";x[0]=0;x[1]="\0";x[2]="0";printf("%d%d\n", sizeof(x),strlen(x));}程序运行后的输出结果是______。

A.6 1 B.7 0 C.6 3 D.7 1

时间:2023-08-31 17:23:37

相似题目