单项选择题

执行以下程序后,a,b的值分别为
main()
{ int a,b,k=4,m=6,*p1=&k,*p2=&m;
a=p1==&m;
b=(*p1)/(*p2)+7;
printf('a=%d\n',A.;
printf('b=%d\n',B.;
}
A.-1,5
B.1,6
C.0,7
D.4,10

A.;
B.;
C.-1,5
D.1,6
E.0,7
F.4,10
<上一题 目录 下一题>
热门 试题

单项选择题
若有说明:int*p,m=5,n;以下正确的程序段是 A.p=&n;scanf('%d',&p); B.p=&am
A.p=&n;scanf('%d',&p);
B.p=&n;scanf('%d',*p)
C.scanf('%d',&n);*p=n;
D.p=&n;*p=m;
单项选择题
阅读下面程序,则程序执行后的结果为 #include 'stdio.h' main() {int a=4,b=6,c=7; double d,fun(int,int,int); d=fun(a,b,c); printf('%lf\n',d);} double fun(int a,int b,int c) {double s; s=a%b*c; return s;}A.27 B.27.000000 C.28 D.28.000000
A.h'
B.27
C.27.000000
D.28
E.28.000000
相关试题
  • The main idea of the story is tha...
  • When we dream,().
  • Which of the following is true?(...
  • Why do some people often dream abo...
  • If the patient is rational and pos...