单选题:已定义以下函数 fun(char*p2,char*p1) {while((*p2=*p1)!='\0'){p1++;p2

  • 题目分类:C语言
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
已定义以下函数
fun(char*p2,char*p1)
{while((*p2=*p1)!='\0'){p1++;p2++;}}
函数的功能是( ) A.将p1所指字符串复制到p2所指内存空间
B.将p1所指字符串的地址赋给指针p2
C.对p1和p2两个指针所指字符串进行比较
D.检查p1和p2两个指针所指字符串中是否有'\0'
参考答案:
答案解析:

我国政府规定,自2002年3月20日起,在国内销售的转基因食品必须进行( )

我国政府规定,自2002年3月20日起,在国内销售的转基因食品必须进行( )A.标示 B.标识 C.标明 D.标清

查看答案

Which of the following statements is NOT correct?

Which of the following statements is NOT correct?A.There were 1 0 million cancer

查看答案

以下能正确定义一维数组的选项是( )

以下能正确定义一维数组的选项是( )A.intnum[]; B.#defineN100intnum[N]; C.intnum[0..100]; D.intN=1

查看答案

It was not until the War with Russia that Nightingale

It was not until the War with Russia that NightingaleA.got to work in a hospita

查看答案

回答题:Ford

回答题:Ford1 Ford’s great strength was the manufacturing process-not invention. L

查看答案