网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

设有以下语句:其中0≤k<5。以下不是对字符串的正确引用的是( )。

A.*strp

B.strp[k]

C.str[k]

D.strp


参考答案

更多 “ 设有以下语句:其中0≤k5。以下不是对字符串的正确引用的是( )。A.*strpB.strp[k]C.str[k]D.strp ” 相关考题
考题 设有以下语句,其中不是对a数组元素的正确引用的是:_____(其中0≤i<10) int a[10]={0,1,3,4,5,6,7,8,9,},*p=a;A.a[p-a]B.*(a[i])C.p[i]D.*(*(a+i))

考题 设有以下语句,其中不是对a数组元素的正确引用的是______(其中0≤i<10) int a[10]={0,1,2,3,4,5,6,7,8,9,},*p=a;A.a[p-a]B.*(a[i])C.p[i]D.*(*(a+i))

考题 设有以下语句: char str[4][12]={"aaa","bbbb","ccccc","dddddd"},*strp[4]; int i; for(i=0;i<4;i++) strp[i]=str[i]; 下列选项不是对字符正确引用的是(其中0≤k<4)( )。A.strpB.str[k][k]C.* strp[k]D.** strp

考题 设有以下语句,其中不是对a数组元素的正确引用的是:______(其中0≤i≤0) inta[10]={O,12,3,4,5,6,7,8,9},*p=a;A.a[p-a}B.*(a[i])C.p[i]D.*(*(a+i)

考题 设有以下语句,其中不是对a数组元素的正确引用的是:______(其中0≤i<10) int a[10]={0,1,2,3,4,5,6,7,8,9,},*p=a;A.a[p-a]B.*(a[i])C.p[i]D.*(*(a+i))

考题 设有以下语句,若0<k<4,下列选项中不能对数组中字符串的正确引用的是()。 char str[4][12]={"aaa","bbb","ccc","ddd"},*strp[4]; int j; for(j=0;j<4;j++) strp[j]=str[j];A.strpB.*strpC.strp[k]D.str[k]

考题 【单选题】设有以下定义语句,则引用正确(可以得到有效字符或字符串)的是()。 char strp[4][12]={"aaa","bbbb","ccccc","dddddd"};A.strp[0][3]B.strp[2]C.strp[4]D.strp[1][4]

考题 设有以下语句,若0<k<4,下列选项中不能对数组中字符串的正确引用的是()。 char str[4][12]={"aaa","bbb","ccc","ddd"},*strp[4]; int j; for(j=0;j<4;j++) strp[j]=str[j];A.*strpB.strpC.strp[k]D.str[k]

考题 【单选题】设有以下程序段: char str[4][10]={“frist”,”second”,”third”,”forurth”},*strp[4]; int n; for(n=0;n<4;n++) strp[n]=str[n]; 若k为int型变量且0<=k<4,则对字符串的不正确引用是()。A.strpB.str[k]C.strp[k]D.*strp