网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
库函数strcpy用以复制字符串,若有以下定义和语句: char str1[]="china",str2[10],*str3,*str4="china"; 则对库函数strcpy的正确的调用是_______。
A.strcpy(strl,"people");
B.strcpy(str2,"people");
C.strcpy(str3,"people");
D.strcpy(str4,"people");
参考答案
更多 “ 库函数strcpy用以复制字符串,若有以下定义和语句: char str1[]="china",str2[10],*str3,*str4="china"; 则对库函数strcpy的正确的调用是_______。A.strcpy(strl,"people");B.strcpy(str2,"people");C.strcpy(str3,"people");D.strcpy(str4,"people"); ” 相关考题
考题
若有下列说明,则( )不是对strcpy库函数的正确的调用。strcpy库函数用于复制一个字符串:char*strl="abcd",str2[10],*str3="hijklmn",*str4[2],*str5="aaaa";A.languageB.lnugC.有语法错误D.lang
考题
若有以下说明,则( )不是对strcpy库函数正确的调用。strcpy库函数用于复制一个字符串:char*strl=abCd,str2[10],*str3=hijklmn,*str4[2],*str5=aaaa;A.strcpy(str2,strl)B.strcpy(str3,strl)C.strcpy(strl,str2)D.strcpy(str5,strl)
考题
设有以下语句: char str1[]="string",str2[8],*str3,*str4=="string; 则______不是对库函数的正确调用。A.strcpy(str1,"HELLO1");B.strcpy(str2,"HELLO2");C.strcpy(str3,"HELLO3");D.strcpy(str4,"HELLO4")
考题
设有以下语句: char str 1[]="string",str2[8],*str3,*str4="string"; 则______不是对库函数的正确调用。A.strcpy(str 1,"HELLO1");B.strcpy(str2,"HELLO2");C.strcpy(str3,"HELLO3");D.strcpy(str4,"HELLO4");
考题
若有以下说明,则( )不是对strcpy库函数正确的调用。 strcpy库函数用于复制一个字符串:char*strl="abCd",str2[10],*str3="hijklmn",*str4[2],*str5="aaaa";A. strcpy(str2,strl)B.strcpy(str3,strl)C.strcpy(strl,str2)D.strcpy(str5,strl)
考题
若有下列说明,则( )不是对strcpy库函数的正确的调用。strcpy库函数用于复制一个字符串:char*str1="abcdt",str2 [10],*str3="hijklmn",*str4[2],*str5="aaaa";A.strcpy(str2,str1)B.strcpy(str3,str1)C.strcpy(str4,str1)D.strcpy(str5,str1)
考题
设有语句:char str1[]="string",str2[8],*str3,*str4="string";,则下列对库函数strcpy调用不正确的是( )。A.strcpy(str1,"Hellol");B.strcpy(str2,"Hello2");C.strcpy(str3,"Hello3");D.strcpy(str4,"Henllo4");
考题
库函数strcpy用以复制字符串。若有以下定义和语句: char str1[ ]="GREETING",str2[8],*str3,*str4="GREETING"; 则对库函数strcpy的不正确调用是 ()A.strcpy(str2,"HELLO2");B.strcpy(str3,"HELLO3");C.strcpy(str4,"HELLO4");D.都不正确
考题
3、库函数strcpy用以复制字符串。若有以下定义和语句: char str1[ ]="GREETING",str2[8],*str3,*str4="GREETING"; 则对库函数strcpy的不正确调用是 ()A.strcpy(str2,"HELLO2");B.strcpy(str3,"HELLO3");C.strcpy(str4,"HELLO4");D.都不正确
热门标签
最新试卷