未分类 · 2025年11月21日

以下程序运行后屏幕输出为( )#include#includeint main(){char str[100];strcpy(str, “helloworld”);printf(“%d”,strlen(str));return 0;} A.8 B.9 C.10 D.100

以下程序运行后屏幕输出为( )#include#includeint main(){char str[100];strcpy(str, “helloworld”);printf(“%d”,strlen(str));return 0;} A.8 B.9 C.10 D.100

正确答案:C