首页
文化综合T版
试题篮(
)
全景学练考
考点导航
[ 所有信息 ][ 单选题 ] 列表
单选题
多选题
判断题
填空题
解答题
解析题
以下选项中叙述正确的是( )。
* .**** **,**,***,**[**];**********(此内容仅VIP会员可见)
* .********************,********(此内容仅VIP会员可见)
* .************(此内容仅VIP会员可见)
* .*********** *****[*];,*********("%*",*****[*.**]);****(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
以下叙述中正确的是( )。
* .********************,********(此内容仅VIP会员可见)
* .************(此内容仅VIP会员可见)
* .*****************,********** *******(此内容仅VIP会员可见)
* .********,************(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序:
#include<stdio.h>
int k = 5;
void f( int *s)
{
s = &k;
}
main()
{
int m=3, *p=&m;
f(p);
printf("%d,%d\n",m,*p);
}
程序的运行结果是( )。
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序
#include <stdio.h>
int k=5;
void f(int *s)
{
s=&k;
*s=7;
}
main()
{
int m=3;
f(&m);
printf("%d,%d\n", m,k);
}
程序运行后的输出结果是( )。
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有如下程序:
#include <stdio.h>
int convert(int *data)
{
return (*data)++;
}
main()
{
int data=56;
convert(&data);
printf("%d,",data);
data = convert(&data);
printf("%d,",data);
printf("\n");
}
程序运行后的输出结果是( )。
* .**,**,(此内容仅VIP会员可见)
* .**,**,(此内容仅VIP会员可见)
* .**,**,(此内容仅VIP会员可见)
* .**,**,(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有如下程序:
#include <stdio.h>
int change(int *data)
{
return (*data)++;
}
main()
{
int data= 123;
change(&data);
printf("%d,",data);
data = change(&data);
printf("%d,",data);
printf("\n");
}
程序运行后的输出结果是( )。
* .***,***,(此内容仅VIP会员可见)
* .***,***,(此内容仅VIP会员可见)
* .***,***,(此内容仅VIP会员可见)
* .***,***,(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序:
#include <stdio.h>
void fun(int x,int y,int *z)
{
*z=y-x;
}
main()
{
int a,b,c;
fun(10,5,&a);
fun(7,a,&b);
fun(a,b,&c);
printf("%d,%d,%d\n",a,b,c);
}
程序运行后的输出结果是( )。
* .*,*,*(此内容仅VIP会员可见)
* .-*,- **,-*(此内容仅VIP会员可见)
* .-*,- **,- **(此内容仅VIP会员可见)
* .*,-*,-*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序
#include <stdio.h>
main()
{
int c[6]= {10,20,30,40,50,60},*p,*s;
p=c;
s=&c[5];
printf("%d\n",s-p);
}
程序运行后的输出结果是( )。
* .*(此内容仅VIP会员可见)
* .**(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
* .**(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序:
#include <stdio.h>
main(){
int m= 1,n=2,*p=&m,*q=&n,*r;
r=p;p=q;q=r;
printf("%d,%d,%d,%d\n",m,n,*p,*q);
}
程序运行后的输出结果是( )。
* .*,*,*,*(此内容仅VIP会员可见)
* .*,*,*,*(此内容仅VIP会员可见)
* .*,*,*,*(此内容仅VIP会员可见)
* .*,*,*,*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有如下程序:
#include <stdio.h>
main()
{
int a=0,*ptr;
ptr=&a;
*ptr=3;
a=(*ptr)++;
printf("%d,%d\n",a,*ptr);
}
程序运行后的输出结果是( )。
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序:
#include <stdio.h>
main()
{
int a[10]= {1,3,5,7,11,13,17},*p=a;
printf("%d,",*(p++));
printf("%d\n",*(++p));
}
程序运行后的输出结果是( )。
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序:
#include <stdio.h>
main()
{
int a[10]= {1,3,5,7,11,13,17},*p=a;
printf("%d,",*(p++));
printf("%d\n",*(++p));
}
程序运行后的输出结果是( )。
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
若有定义语句: int year=2009,*p=&year;,以下不能使用变量year 中的值增至2010的语句是( )。
* .**+= *(此内容仅VIP会员可见)
* .(**)++;(此内容仅VIP会员可见)
* .++(**);(此内容仅VIP会员可见)
* .**++;(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
以下叙述中正确的是( )。
* .**************(此内容仅VIP会员可见)
* .************(此内容仅VIP会员可见)
* .************* **,**+***********(此内容仅VIP会员可见)
* .****************(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
以下叙述中正确的是( )。
* .*******、******,**************(此内容仅VIP会员可见)
* .********,************(此内容仅VIP会员可见)
* .********,*&*********(此内容仅VIP会员可见)
* .********,***+***(*+*)*******(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序
#include <stdio.h>
main()
{
int a= 1,b=3,c=5;
int *p1=&a,*p2=&b,*p=&c;
*p=*p1*(*p2);
printf("%d\n",c);
}
执行后的输出结果是( )。
* .*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序
#include <stdio.h>
main()
{
int n,*p=NULL;
*p=&n;
printf("Input n:");
scanf("%d",&p);
printf("output n:");
printf("%d\n",p);
}
该程序试图通过指针p为变量n读入数据并输出,但程序有多处错误, 以下语句正确的是( )。
* .*** *,**=****;(此内容仅VIP会员可见)
* .**=&*;。(此内容仅VIP会员可见)
* .*****("%*",&*);(此内容仅VIP会员可见)
* .******("%*\*",*);(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
若有定义语句: double x,y,*px,*py;执行了px=&x;py=&y;之后,正确 的输入语句是( )。
* .*****("%**%**",**,**);(此内容仅VIP会员可见)
* .*****("%*%*"&*,&*);(此内容仅VIP会员可见)
* .*****("%*%*",*,*);(此内容仅VIP会员可见)
* .*****("%**%**",*,*);(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
以下程序中关于指针输入格式正确的是( )。
* .*** **;*****("%*",&*);(此内容仅VIP会员可见)
* .*** * *;*****("%*",*);(此内容仅VIP会员可见)
* .*** *,* *=&*;*****("%*",*);(此内容仅VIP会员可见)
* .*** *,**;**=&*;*****("%*",&*);(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
设变量p是指针变量,语句p=NULL;是给指针变量赋NULL值,它 等价于( )。
* .*=" ";(此内容仅VIP会员可见)
* .*='*';(此内容仅VIP会员可见)
* .*=*;(此内容仅VIP会员可见)
* .*='';(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
共18275记录
«上一页
1
...
215
216
217
218
219
220
221
222
...
914
下一页»
微信刷题
联系电话
手机
181-0729-8398
邮箱
254634089@qq.com
返回顶部