全部题库 / C++ / 试题详情
单选题 C++
2008-03-20

有以下程序  
point(char *p)  
{  
p+=3;  
}  
main()  
{ char b[4]={’a’,’b’,’c’,’d’},*p=b;  
point(p); printf("%c\n",*p);  
}  
程序运行后的输出结果是( )

A.a  
B.b  
C.c  
D.d

参考答案

A

答案解析

暂无解析

你可能感兴趣的试题

A.typedef struct aa  
{  
int n;  
float m;  
}AA;  
AA td;  
B.struct aa  
{  
int n;  
float m;  
} td;  
struct aa td;  
C.struct  
{  
int n;  
float m;  
}aa;  
struct aa td;  
D.struct  
{  
int n;  
float m;  
}td;