网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
[x1+x2forx1,x2inzip([1,2],[3,4])] 输出结果为:()
- A、[4,6]
- B、[3,7]
- C、[1,2,3,4]
- D、报错
参考答案
更多 “[x1+x2forx1,x2inzip([1,2],[3,4])] 输出结果为:()A、[4,6]B、[3,7]C、[1,2,3,4]D、报错” 相关考题
考题
有下列程序: #includestdi0.h structord {intx,y;}dt[2]={1,2,3,4}; voidmain( ) {structord*p=dt; printf("%d,",++P-x);printf("%d,",++P -y); } 程序的运行结果是( ).A.1,2B.2,3C.3,4D.4,1
考题
有以下程序#includestdio.hstruct ord{int x,y;} dt[2]={1,2,3,4};main(){struct ord*p=dt;printf(“%d,”,++(p一x));printf(“%d\n”,++(p一y));}程序运行后的输出结果是A.1,2B.4,1C.3,4D.2.3
考题
有以下程序: #includestdio.h struct ord {int X,y;)dt[2]={1,2,3,4}; main( ) { struct ord*p=dt; printf("%d,",++(p-x));printf("%d\n",++(p-y)); } 程序运行后的输出结果是( )。A.1,2B.4,1C.3,4D.2,3
考题
以下程序的输出结果是()。include Void main(){int a[3][3]= { { 1,2 }, { 3,4 }, {
以下程序的输出结果是( )。#include <iostream.h>Void main(){ int a[3][3]= { { 1,2 }, { 3,4 }, { 5,6 } }, i, j, s=0; for(i=1;i<3;i++) for(j=0;j<i; j++) s+=a[i][j]; cout<<s<<end1;}A.14B.19C.20D.21
考题
(37)有以下程序#include stdio.hstruct ord{ int x,y;}dt[2]={1,2,3,4};main(){struct ord *p=dt;printf("%d,",++(p-x)); printf("%d\n",++(p-y));}程序运行后的输出结果是A)1,2B)4,1C)3,4D)2,3
考题
如果要将两台计算机通过双绞线以太网直接连接,正确的线序是()A、1—1,2---2,3---3,4---4,5---5,6----6,7----7,8----8B、1---2,2---1,3---6,4----4,5----5,6----3,7----7,8----8C、1---3,2---6,3----1,4---4,5---5,6---2,7----7,8----8D、1---2,2---1,3---3,4---5,5----4,6---6,7---7,8---8
考题
单选题print({1,2,3}-{3,4,6})输出结果为:()A
{-2,-2,-3}B
{2,2,3}C
{1,2}D
报错
热门标签
最新试卷