单项选择题

有以下程序 main() {int a=1,b=3,C=5,*P; int *pl=&a,,*p2=&b,*p3=&c; *P=*pl*(*p2); printf("%d\ n",*P); } 执行后的输出结果是【 】。

A.1
B.2
C.3
D.4
<上一题 目录 下一题>
热门 试题

单项选择题
以下选项中不能正确把c1定义成结构体变量的是( )。
A.typedef struct   { int red;    int green;    int blue;   } COLOR;      COLOR cl;
B.struct color cl   { int red;   int green;    int blue;   }
C.struct color   { int red;   int green;   int blue;   } cl;
D.struct   { int red;    int green;    int blue;   } cl;
单项选择题
有以下程序void f(int n,int* r){int rl=0;if(n%3=0) rl=n/3;else if(n%5=0) rl=n/5;else f(n,&r1);*r=rl;}main(){int rn=7,r;f(m,&);printf( %d ,r);}程序运行后的输出结果是【 】。
A.2
B.1
C.3
D.0
相关试题
  • 当执行以下程序时,输入123456789...
  • 以下程序运行后的输出结果是【 】。main(...
  • Windows窗口一般由标题栏、菜单栏、控制按...
  • 以下程序运行后的输出结果【 】。struct ...
  • 以下程序运行后的输出结果是【 】。main(...