【单选题】【消耗次数:1】
若有定义:int*p,k=4;p=以下均代表地址的是()。
k,p
k,p
k,p
k,*p
参考答案:
复制
纠错
相关题目
【单选题】 若有以下定义:structnode{intdata;structnode*next;}structnodem,n,k,*head,*p;已建立如下图所示的链表:mnk┌──┬──┐┌──┬──┐┌──┬──┐head→│data│next┼→│data│NULL│p→│data│next│└──┴──┘└──┴──┘└──┴──┘指针head指向变量m,m.next指向变量n,p指向变量k,不能把结点k插到m和n之间形成新链表的程序段是()。
①  p-next=head-m.next=p;
②  (*head).next=p;(*p).next=
③  head-next=p-next=head
④  -m.next=k.next=
【单选题】 假定k是一个double类型的变量,则定义指向k的变量p的正确语句为?
①  double p=
②  double *p=
③  double
④  char *p= Thank you!
【判断题】 若X服从二项分布b(k;n,p), 则EX=p
①  正确
②  错误
【单选题】 假定k是一个double类型的变量,则定义变量p的正确语句为( )。
①  double p=
②  double *p=
③  double
④  char *p=”Thank you!”;
【单选题】 假定k是一个double类型的变量,则定义变量p的正确语句为( )。
①  double p=
②  double *p=
③  double
④  char *p=”Thank you!”;
【单选题】 [p‘]、[t‘]、[k‘]三个音素的区别是( )不同。
①  发音方法
②  清浊
③  发音部位
④  送气与否
【单选题】 若有语句:inta=4,p=&a;,下面均代表地址的一组选项是()
①  a,p,*a
②  *a,a,p
③  a,p,*p
④  *p,p,a
【单选题】 若有定义语句:int k1=10,k2=20;,执行表达式(k1=k1k2)(k2=k2k1)后,k1和k2的值分别为()。
①  0和1
②  0和20
③  10和1
④  10和20
【单选题】 若有说明:int n=2,*p=&n,*q=p,则以下非法的赋值语句是:()
①  p=q
②  *p=*q
③  n=*q
④  p=n
【单选题】 若有定义:int a[10],*p=a;则错误引用数组元素a[2]地址的是()。
①  p+2
②  a+2
③  p[2]
④  *a+2
随机题目
【单选题】 I dont know the park, but its____ to be quite beautiful.
①  said
②  told
③  spoken
④  talked
【单选题】 He called the police for help, ____ that the problem was more than he could deal with.
①  to realize
②  having been realized
③  realizing
④  realized
【单选题】 By nine o’clock I ____ that my guests were not coming.?
①  recognized ?
②  realized ?
③  understood ?
④  noticed?
【单选题】 The flower is dead. I ____ it more water. ?
①  must give ?
②  should have given ?
③  ?would have given ?
④  will give ?
【单选题】 ____ what the situation would be like, they decided to keep silent.
①  Knowing not
②  Not know
③  Not knowing
④  Having not known
【单选题】 All of us think it difficult to ____ the difference between the two things.
①  talk
②  speak
③  lecture
④  tell
【单选题】 Alicereceived an invitation from her boss, ____came as a surprise.?
①  it ?
②  that ?
③  which ?
④  he?
【单选题】 —What day is today?—Today is____.
①  March 25th
②  Saturday
③  fine
④  cold
【单选题】 This painting is ____ of his work.
①  critical
②  logical
③  typical
④  feature
【单选题】 ____ is essential to a successful scientist; he cannot hope to make any progress if he cannot work in a controlled way.
①  Discipline
②  Decision
③  Declaration
④  Dependence