通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
有以下程序
#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)); }
程序运营后的输出结果是