【判断题】【消耗次数:1】
(p++)-num的计算过程是先求得p-num的值,然后再使p自加1。
正确
错误
参考答案:
复制
纠错
相关题目
【判断题】 (++p)-num的计算过程是先使p自加1,然后得到p指向的元素中的num成员值。
①  正确
②  错误
【单选题】 以下程序的运行结果是()。main(){inta[3]={1,2,3};int*num[3];int**p,i;for(i=0;ii++)num[i]=p=num;printf("%d",**p);}
①  1
②  3
③  a[0]
④  num
【判断题】 C语言允许把(*p).num用p_>num来代替()。
①  正确
②  错误
【单选题】 假定p所指对象的值为25,p+1所指对象的值为42,则*p++的值为( )。
①  25
②  42
③  26
④  43
【单选题】 假定p所指对象的值为25,p+1所指对象的值为42,则*p++的值为( )。
①  25
②  42
③  26
④  43
【单选题】 假定p所指对象的值为25,p+1所指对象的值为42,则执行*p++运算后,p所指对象的值为( )。
①  25
②  42
③  26
④  26
【单选题】 假定p所指对象的值为25,p+1所指对象的值为42,则执行*p++运算后,p所指对象的值为( )。
①  25
②  42
③  26
④  43
【单选题】 假定p所指对象的值为25,p+1所指对象的值为42,则执行*p++运算后,p所指对象的值为( )。
①  25
②  42
③  26
④  43
【单选题】 以下函数的返回结果是() int function(char *x) { char *p=x; while(*p++); return(p-x-1); }
①  求字符串的长度
②  将字符串x连接到字符串p后面
③  将字符串x复制到字符串p中
④  将字符串x反向存放
【单选题】 以下函数的返回结果是(????) int function(char *x) { char *p=x; while(*p++); return(p-x-1); }
①  求字符串的长度
②  将字符串x连接到字符串p后面
③  将字符串x复制到字符串p中
④  将字符串x反向存放
随机题目
【单选题】 The train______she was traveling was five minutes late.
①  that
②  which
③  on that
④  on which
【单选题】 The old men who gave away lots of money ______ highly of at yesterday’s meeting.
①  spoke
②  spoken
③  was spoken
④  were spoken
【单选题】 Once a picture is proved to be a forgery, it becomes quite ___.
①  invaluable
②  priceless
③  worthless
④  valuable
【单选题】 Is that book ______ he borrowed on Friday?
①  that
②  which
③  the one
④  who
【单选题】 Tom is one of the people who ______ they are now.
①  from
②  like
③  with
④  as
【单选题】 I’ll never forget the days ______ we spent together in the country.
①  which
②  on which
③  when
④  on that
【单选题】 The book ______ you want is on the desk.Which of the following isn’t right?
①  that
②  which
③  /
④  it
【单选题】 It is in 1960 ______ Chinese first put out flag on Mount Qomolangma.
①  when
②  that
③  which
④  in which
【单选题】 I have the same pen ______.
①  which you have
②  as yours
③  that you are
④  as you
【单选题】 The first school ______ we visited yesterday is not far from here.
①  that
②  which
③  to which
④  where