单选题:程序中有语句:for(inti=0;i<5;i++)cout<<*(p+i)<<",";能够依次输出int型一维数组a的 题目分类:C++ 题目类型:单选题 查看权限:VIP 题目内容: 程序中有语句:for(inti=0;i<5;i++)cout<<*(p+i)<<",";能够依次输出int型一维数组a的前5个元素。由此可知,变量P的定义及初始化语句是( )。 A.int*p=a; B.intp=a; C."p=a; D.p=a; 参考答案: 答案解析:
有下列程序: #include<stdi0.h>intb=2; intfun(int*k){b=*k+b;return( 有下列程序: #includeintb=2; intfun(int*k){b=*k+b;return(b);)voidmain( 分类:C++ 题型:单选题 查看答案
设有定义“chars[8];inti=0;”,下列不能将一行(不超过80个字符)带有空格的字符国正确读入的语句或语句组是 设有定义“chars[8];inti=0;”,下列不能将一行(不超过80个字符)带有空格的字符国正确读入的语句或语句组是( )。 A.gets(s); B.w 分类:C++ 题型:单选题 查看答案
Which of the following arguments does the author want to ma Which of the following arguments does the author want to make?A.Money is all th 分类:C++ 题型:单选题 查看答案
What does the man ask the woman to do? What does the man ask the woman to do?A.To park the Car elsewhere. B.To drive al 分类:C++ 题型:单选题 查看答案
We know from the text that_________. We know from the text that_________. A.Frank couldn’t decide which Car to buy. 分类:C++ 题型:单选题 查看答案