【单选题】【消耗次数:1】
若已定义inta=1,b=2,t=3;则执行以下程序段后变量a,b,t的值分别为()。if(ab){t=b;b=a;a=t;}
a=2,b=1,t=2
a=2,b=1,t=1
a=2,b=1,t=3
a=3,b=1,t=2
参考答案:
复制
纠错
相关题目
【单选题】 若有定义:inta=1,b=2,c=3,d=4,t=2,k=2;语句(t=ab)||(k=c运行后,k的值为()。
①  2
②  1
③  0
④  -1
【单选题】 以下程序的输出结果是()。 main( ) { int b[3][3]={0,1,2,0,1,2,0,1,2},i,j,t=0; for(i=0;i for(j=i;j t=t+b[i][b[j][j]]; printf(%d\n,t); }
①  3
②  4
③  1
④  9
【单选题】 若已定义inta=3,b=2,c=1;则语句++a||++b&&++c;运行后b的值为()。
①  0
②  3
③  1
④  2
【单选题】 若已定义inta=3,b=2,c=1;则语句++a||++b++c;运行后b的值为()。
①  0
②  3
③  1
④  2
【单选题】 若f(t)=t^3+1,则f(t^3+1)= ( )
①  t^3+1
②  t^6+2
③  t^9+2
④  t^9+3t^6+3t^3+2
【单选题】 inta=1,b=2,c=3; if(a>b)a=b; if(a>c)a=c; 则a的值为().
①  1
②  2
③  3
④  不一定
【单选题】 已知向量组<img class=jc-formula data-tex=\alpha ={ \left( 1,1,1 \right) }^{ T },\beta ={ \left( 1,2,3 \right) }^{ T },\gamma ={ (1,3,t) }^{ T } src=https://huaweicloudobs.ahjxjy.cn/FAC67E45313B890E76DFDEE357FB8F70.png style=vertical-align: middle;/>的秩为2,则t=( )
①  1
②  2
③  3
④  5
【简答题】 设 A = {1, 2=,2, 4=,3, 3=},B = {1, 3=,2, 4=,4, 2=},则并关系A∪B的定义域dom(A∪B)等于:[填空1]
【单选题】 对于T1b-T4、N+食管鳞癌单纯手术者术后第1~2年应多长时间随访1次?
①  3个月
②  6个月
③  1年
④  2年
⑤  3年
【判断题】 设 A = {1, 2=,2, 4=,3, 3=},B = {1, 3=,2, 4=,4, 2=},则并关系A∪B的定义域dom(A∪B)等于:{1,2,3,4}。
①  正确
②  错误
随机题目
【单选题】 _______ his sister, Jack is quiet and does not easily make friends with others.
①  Dislike
②  Liking
③  Alike
④  Unlike
【单选题】 How do you do? Glad to meet you._________
①  Fine. How are you?
②  How do you do? Glad to meet you, too.
③  How are you? Thank you!
④  Nice. How are you?
【单选题】 Don’t take any action until you are fully _____ with the situation there.
①  consented
②  content
③  obvious
④  acquainted
【单选题】 When a fire____ at the National Exhibition in London, at least ten priceless paintings were completely destroyed.
①  broke off
②  broke out
③  broke down
④  broke up
【单选题】 What a bad memory I’ve got! I even forgot ______ the book with me.
①  took
②  taking
③  take
④  taken
【单选题】 As the bus came round the comer, it ran _______ a big tree by the roadside.
①  over
②  on
③  into
④  up
【判断题】 判断线上的内容是否正确:If I have any comments to make, I’ll write them in the ___margin___ of the book I’m reading
①  正确
②  错误
【判断题】 判断线上的内容是否正确:Parents should actively urge their children to__keep track of____the opportunity to join sports teams.
①  正确
②  错误
【判断题】 判断线上的内容是否正确:A New Zealand man was recently ____sentenced_____ to life imprisonment for the murder of an English tourist, Monica Cantwell.
①  正确
②  错误
【判断题】 判断线上的内容是否正确:It is often the case___as ___anything is possible for those who hang on to hope.
①  正确
②  错误