网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
若有int *p,a=4;和p=&a;下面那个选项均代表地址?
A.p,*&a
B.&*a,&a,*p
C.*&p,*p,&a
D.&a,&*p,p
参考答案和解析
&a,point,&*point
更多 “若有int *p,a=4;和p=a;下面那个选项均代表地址?A.p,*aB.*a,a,*pC.*p,*p,aD.a,*p,p” 相关考题
考题
若有定义语句:"int a[4][10],*P,*q[4];"且0≤i
若有定义语句:"int a[4][10],*P,*q[4];"且0≤iA.D=aB.q[i]=a[i]C.p=a[l]D.P=&a[2][1]
考题
若有一些定义和语句 include int a=4,b=3,*p,*q,*w; p=a; q=b; w=q; q
若有一些定义和语句 #include <stdio.h> int a=4,b=3,*p,*q,*w; p=a; q=b; w=q; q=NULL; 则以下选项中错误的语句是A.*q=0;B.w=p;C.*p=va;D.*p=*w;
考题
若有定义int a[9],+P=a;,则P+5表示( )。A.数组元素a[5]的值B.数组元素a[5]的地址SXB
若有定义int a[9],+P=a;,则P+5表示( )。A.数组元素a[5]的值B.数组元素a[5]的地址C.数组元素a[6]的地址D.数组元素a[0]的值加上5
考题
若有语句int *point,a=4;和 point=a;,下面均代表地址的一组选项是A.a,point,*a B.和 point=a;,下面均代表地址的一组选项是A.a,point,*a B.*a,a,*point C.*point,*point,a D.a,*point,point
考题
若有语句int * point,a=4;和point=a;下面均代表地址的一组选项是()。A.a,point,*aB.a;下面均代表地址的一组选项是( )。A.a,point,*aB.*a,a,*pointC.*point,*point,aD.a, * point,point
考题
若有以下定义和语句:includeinta=4,b=3,*p,*q,*w;p=a; q=b; w=q; q=NULL;则
若有以下定义和语句: #include<stdio.h> int a=4,b=3,*p,*q,*w; p=a; q=b; w=q; q=NULL; 则以下选项中错误的语句是( )。A.*q=0;B.w=p;C.*p=a;D.*p=*w;
考题
若有以下定义和语句 int a=4.b=3.* p, * q, * w; p=a;q= b; w=q;q=NULL; 则以下选项中错误的语句是A.*q=0;B.w=p;C.*p=a;D.*p=* w;
考题
若有语句:int a[3][4],(。P)[4];P=a;,则以下选项中叙述错误的是( )。A.系统将开辟一个名为P的二维数组,“o][o]中的值即为a[o][o]中的值B.P+1代表a[1][0]的地址C.P中将存放a数组的首地址D.P+2代表a数组最后一行的首地址
考题
若有语句int*point,a=4;和point=a;下面均代表地址的一组选项是A.a,point,*aB.*a,a,*pointC.*point,*point,aD.a,*point,point
考题
若有以下定义和语句 int a=4,b=3,*p, *q, *w; p=a; q=b; w=q; q=NULL; 则以下选项中错误的语句是A.*q=0B.w=pC.*p=a;D.*p=*w;
考题
若有以下程序 include int a[ ]={2,4,6,8}; main( ) { int i; int *p=a; for(i=0;i
若有以下程序#include <stdio.h>int a[ ]={2,4,6,8};main( ){ int i;int *p=a;for(i=0;i<4;i++) a[i]=*p;printf("%d\n",a[2]);}上面程序的输出结果是A.6B.8C.4D.2
考题
有定义语句:“int*p[4];”,以下选项中与此语句等价的是( )。 A.int p[4];B.int**P;SXB
有定义语句:“int*p[4];”,以下选项中与此语句等价的是( )。A.int p[4];B.int**P;C.int*(p[4]);D.int(*p)[4];
考题
若有下列定义,则对a数组元素地址的正确引用是( )。int a[5],*p=a;A.p+5 B.*a+1
若有下列定义,则对a数组元素地址的正确引用是( )。int a[5],*p=a;A.p+5B.*a+1C.&a+1D.&a[0]
考题
若有语句int*point,a=4;和point=a;下面均代表地址的一组选项是 A.a,point,*和 point=a;下面均代表地址的一组选项是A.a,point,*aB.*a,a,*pointC.*point,*point,aD.a,*point,point
考题
若有以下说明和语句: struct student{ int age; int num; }std, *p; p=std; 则下面对该结构体变量std中成员age的引用方式错误的是()。 A、std.ageB、*p.ageC、(*p).ageD、p-age
考题
单选题若有定义:int *p,a=4;p=a;则以下均代表地址的是()A
a,pB
a,pC
a,*pD
a,*p
热门标签
最新试卷
![瑞牛题库 章节练习 历年真题 模拟试卷](http://assets.51tk.com/51_sidebar_right_index.jpg)