首页 > 试题广场 >

设有语句:char str1[ ] = “string”,

[单选题]
设有语句:char  str1[ ] = “string”, str2 [ 8 ],  * str3,  * str4= “string” ; , 则下列选项中,不是对库函数strcpy的正确调用的是()。
  • strcpy ( str1,  “hello1”);
  • strcpy ( str2,  “hello2”);
  • strcpy (str3,  “hello3”);
  • strcpy (str4,  “hello4”);

这道题你会答吗?花几分钟告诉大家答案吧!