[单选题]

以下程序(程序左边的数字为符加的行号)。1include2include3main()4{char s[]="

以下程序(程序左边的数字为符加的行号)。 1#include<str.h> 2#include<stdio.h> 3main() 4{ char s[]="string"; 5puts(s); 6strcpy(s,"hello"); 7printf("%3s/n",s);}

A.没有错

B.第1行有错

C.第6行有错

D.第7行有错

参考答案与解析:

相关试题

以下程序(程序左边的数字为符加的行号)。1#include2#include3m