单项选择题

有以下程序:
typedef structint b,p;A;
void f(A C] /*C是结构变量名*/
int j;
c.b+=1;c.p+=2;
main()
int i;
A a=1,2;
f(

A.;
printf("%d,%d\n",a.b,a.p);

程序运行后的输出结果是( )。A) 2,3
B.2,4
C.1,4
D.1,2
<上一题 目录 下一题>
热门 试题

单项选择题
在待排序的元素序列基本有序的前提下,效率最高的排序方法是( )。
A.冒泡排序
B.选择排序
C.快速排序
D.归并排序
单项选择题
有以下程序: #include struct st int x,y;data[2]=1,10,2,20; main() struct st*p=data; printf( %d, ,p->y);printf( %d n ,(++p)->x); 程序的运行结果是( )。
有以下程序:
#include
struct st
int x,y;data[2]=1,10,2,20;
main()
struct st*p=data;
printf("%d,",p->y);printf("%d\n",(++p)->x);
程序的运行结果是( )。
相关试题
  • 有以下程序: #include void fun(int...
  • 有以下程序; main() int i; for(i...
  • 数据库设计的四个阶段是:需求分析、概念设...
  • 有以下程序: #include main() char...
  • 若有定义语句:int k [2][3],*pk...