若有定义:intw[3][5];则以下不能正确表示该数组元素的表达式是A.*(*w+3)B.*(*(w+1))C.*(w+1)[4]D
若有定义:intw[3][5];则以下不能正确表示该数组元素的表达式是
A.*(*w+3)
B.*(*(w+1))
C.*(w+1)[4]
D.*(&w[0][0]+1)
若有定义:intw[3][5];则以下不能正确表示该数组元素的表达式是
A.*(*w+3)
B.*(*(w+1))
C.*(w+1)[4]
D.*(&w[0][0]+1)
第1题
若有以下定义的语句
struct student
{ int age;
int num; };
struct student stu[3]={{1001,20},{1002,19},{1003,21}};
main()
{ struct student *p;
p=stu;
… }
则以下不正确的引用是
A.(p++)->num
B.p++
C.(*p).num
D.P=&stu.age.
第2题
若有以下定义的语句: struct student { int age; int num;}; struct student stu[3]={{1001,20},{1002,19},{1003,21}}; main() { struct student *p; p=stu; …} 则以下不正确的引用是()。
A.(p++)->num
B.p++
C.(*p).num
D.P=&stu.age.
第4题
A.x%(-3)
B.w+=-2
C.K=(a=2,b=3,a+b)
D.a+=a-=(b=4)*(a=3)
第7题
A.x%=(k%=5)
B.x%=(k-k%5)
C.x%=k-k%5
D.(x%=k)-(k%=5)
第8题
若有定义:“int a[3][5],i,j;”(且0<=i<3,0<=j<5),则a数组中任一元素可用5种形式引用。它们是: ①a[i][j] ②*(a[i]+j) ③*(* ); ④(*(a+i))[j] ⑤*(________+5*i+j)
第9题
若有定义和语句:inta,b;scanf(%d,%d,,&a,&b);以下选项中的输入数据,不能把值3赋给变量a、5赋给变量b的是
A.3.5
B.3,5,
C.3,5
D.75,4