【单选题】【消耗次数:1】
设有定义:intn1=0,n2,*p=&n2,*q=&n1;,以下赋值语句中与n2=n1;语句等价的是()
*p=*q;
p=q;
*p=n1
p=*q;
参考答案:
复制
纠错
相关题目
【单选题】 若有说明:int n=2,*p=&n,*q=p,则以下非法的赋值语句是:()
①  p=q
②  *p=*q
③  n=*q
④  p=n
【单选题】 intn=0,*p=&n,**q=&p;则正确的赋值语句是()
①  p=1;
②  *q=2;
③  q=p;
④  *p=5;
【判断题】 在升压变压器中,原绕组匝数N1与副绕组匝数N2关系是N2N1。
①  正确
②  错误
【判断题】 某对称配筋矩形框架柱,有两组内力(M1,N1),(M2,N2),当N1=N2,M1>M2时,第一组内力作用下的柱子所需配筋较多。()
①  正确
②  错误
【判断题】 某对称配筋矩形框架柱,有两组内力(M1,N1),(M2,N2),当N1>N2,M1=M2时,第一组内力作用下的柱子所需配筋较多。()
①  正确
②  错误
【单选题】 对两样本均数作t检验,n1=20,n2=20,其自由度等于( )
①  19
②  20
③  38
④  39
【简答题】 #include stdio.hint main(){char a[]=I love China!,b[20],*p1,*p2;p1=a;p2=b; for(;*p1!=\0p1++,p2++)*p2=*p1; *p2=\0// printf(string a is:%s\n printf(string b is:%s\n return 0;}以上程序运行结果为string b is:[填空1]。
【单选题】 若已知一个栈的入栈序列是1,2,3,…,n,其输出序列为p1,p2,p3,…,pn,若pn是n,则pi是( )。
①  i
②  n-i
③  n-i+1
④  不确定
【简答题】 int a[10]={0,1,2,3,4,5,6,7,8,9};int *p;int i;p=a;printf(%d\n,*p++);printf(%d\n,*++p);程序输出结果为[填空1]和[填空2]。
【多选题】 对反应N2(g)+3H2(g)≒ 2NH3(g)+Q,提高氢气转化率的方法是
①  升温
②  降温
③  增加压力
④  增加N2(g)的量
随机题目
【单选题】 Joan replied, “I _________ many European countries and seen lots of places and people.
①  have been to have gone to go to
②  have gone to
③  go to
④  goes to
【单选题】 I ___remember to send my mother some flowers. Its her birthday tomorrow.
①  must
②  have to
③  could
【单选题】 Ihaven got___to do this evening. Would you like to go to see a film?
①  something
②  anything
③  nothing
【单选题】 -“When shall we meet again next week?”-“______________ day is possible. It’s no problem with me.”
①  Either
②  Neither
③  Every
④  Any
【单选题】 _____ ! That fire is dangerous.
①  To stop
②  Stop
③  Stopping
④  Stopped
【单选题】 His grandfather is very healthy. He _______drinks _______smokes.
①  both, and
②  no,but
③  either, or
④  neither, nor
【单选题】 We havent seen such a beautiful film ______.
①  since four years
②  for the past four years
③  four years ago
④  from the past four years
【单选题】 Get up! Mary. Tom has _____called you three times this morning.
①  yet
②  already
③  never
④  seldom
【单选题】 Mr. Hilton is not good at music. Neither ______his children.
①  is
②  was
③  were
④  are
【单选题】 Im really looking forward to _____from you.
①  hear
②  hearing
③  hears
④  to hear