【单选题】【消耗次数:1】
若有定义int*x[3],b[10];则正确的赋值语句是()
x=b[0];
x=b;
x[0]=b[0];
x[0]=b[0];
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【单选题】 若有说明语句:int x[3][4];则以下关于x、*x、x[0]、&x[0][0]的正确描述是()。
①  x、*[x]、x[0]和x[0][0]均表示元素x[0][0]的地址
②  只有x、x[0]和x[0][0]表示的是元素x[0][0]的地址
③  只有x[0]和x[0][0]表示的是元素x[0][0]的地址
④  只有x[0][0]表示的是元素x[0][0]的地址
【单选题】 若有定义:intx,a;赋值语句a=(x%3==0)?0:1;与()语句不等价。
①  if(x%3!=0)a=1;elsea=0;
②  if(x%3)a=0;elsea=1;
③  if(x%3==0)a=0;elsea=1;
④  if(!(x%3==0))a=1;elsea=0;
【单选题】 下述程序的运行结果( )。 #includevoid main() { int x=1,a=0,b=0; switch(x) { case 0:b++; case 1:a++; case 2:a++;b++; } printf(a=%d,b=%d\n,a,b); }
①  a=2,b=1
②  a=1,b=2
③  a=0,b=1
④  a=1,b=0
【单选题】 设函数f(x)在[a,b]连续,在(a,b)可导,f’(x)0.若f(a)·f(b)0,则y=f(x)在(a,b)( )
①  不存在零点
②  存在唯一零点
③  存在极大值点
④  存在极小值点
【单选题】 分析以下程序: main( ) { int x=5,a=0,b=0; if(x=a+b) printf(“** **\n”); else printf(“## ##\n”); 以上程序 ( )
①  有语法错,不能通过编译
②  通过编译,但不能连接
③  输出** **
④  输出## ##
【单选题】 若在区间(a,b)内恒有f(x)〈0,f(x)〉0,则在(a,b)内曲线弧y=f(x)为()
①  上升的凸弧
②  下降的凸弧
③  上升的凹弧
④  下降的凹弧
【单选题】 如果函数f(x)在区间(a,b)内恒有f(x)0,f(x)0,则函数的曲线( )
①  单调递增且向上凸
②  单调递减且向上凸
③  单调递增且向下凹
④  单调递减且向下凹
【多选题】 设áB, ù, ú, ¢, 0, 1?是布尔代数, 在 B 上定义二元运算?, x, y?B,x?y = (xùy¢) ú (x¢ùy),则áB, ??能构成:
①  不是代数系统;
②  半群;
③  独异点;
④  群。
【单选题】 下述程序的运行结果( )。 #includevoid main() { int x=1,a=0,b=0; switch(x) { case 0:b++; case 1:a++; case 2:a++;b++; } printf(a=%d,b=%d\n,a,b); } case 1:a++; case 2:a++;b++; } printf(a=%d,b=%d\n,a,b); }
①  a=1,b=1
②  a=2 ,b=1
③  a=2,b=2
④  a=3,b=3
【单选题】 已知函数f(x)可导,则△x→0时, lim [f(x0-x)-f(x0)]/x
①  -f(x)
②  f(-x0)
③  f(x0)
④  2f(x0)
随机题目
【单选题】 It may also () morale and mutual trust.
①  undermine
②  unique
③  under
④  use
【单选题】 Everyone must() his share of the responsibility to protect the environment.
①  assumed
②  assume
③  assuming
④  assumptive
【单选题】 Much importance should be ( ) to physical and mental health of students, which, however, is often neglected.
①  attached
②  detached
③  stressed
④  thrown
【单选题】 Our master, who is an experienced teacher, is expert in ( ) students to seek knowledge themselves.
①  discouraging
②  criticizing
③  motivating
④  forcing
【单选题】 As pioneers, ( ) from around the globe are making deep-space journeys.
①  astronauts
②  astronomers
③  astrophysicist
④  astrologers
【单选题】 My daughter is really fond of the ( ) of the curtain in her bedroom which she chose herself.
①  drawing
②  pattern
③  style
④  design
【单选题】 They?()to have a 40%?worldwide?market?share.
①  clean
②  want
③  claim
④  classify
【单选题】 What is their main () of income?
①  source
②  origin
③  save
④  order
【单选题】 The secretary was a vain and () man.
①  healthy
②  wise
③  kind
④  pompous
【单选题】 Mr. Smith is said to be ( ) to the new branch of the company in Paris.
①  transplanted
②  transferred
③  transformed
④  transmitted