以下代码执行结果是【】。size = 100def draw_pentagram(size):print(size, 'size')size += 10draw_pentagram(size)
A: size 110
B: 100 size
C: size 100
D: 110 size
A: size 110
B: 100 size
C: size 100
D: 110 size
D
举一反三
- 执行常量定义语句const int size 100 sizeof int 后 符号常量size的值为 10
- 已知有定义#define SIZE 1000 ,则执行语句printf("SIZE"); 后,输出结果为() A: 1000 B: “1000” C: “SIZE” D: SIZE
- What size does the man want A: Size 4. B: Size 6. C: Size 8.
- 下列一维数组定义正确的是( ) A: int a[3]; B: int size; int a[size]; C: int size=3; int a[size]; D: int a[size=3];
- 感染过程的表现包括[input=type:blank,size:10][/input]、[input=type:blank,size:10][/input]、[input=type:blank,size:10][/input]、[input=type:blank,size:10][/input]、[input=type:blank,size:10][/input]。
内容
- 0
产生和A同样大小的全1矩阵的命令是( )。 A: eye(size(A)) B: ones(size(A)) C: size(ones(A)) D: size(eye(A))
- 1
设置舞台大小为600*400像素的语句是:() A: size(600*400); B: size(600,400); C: Size(600,400); D: Size(600*400);
- 2
VBA中用实际参数a和b调用有参过程size(c,d)的正确形式是( )。 A: size c,d B: size a,b C: Call size(c, D: Call size a,b
- 3
The author describes how small Lilliputions are from the following aspects: A: The size of their figure B: The size of their food C: The size of their drinks D: The size of the machine to transport Gulliver.
- 4
我们想要将表格中加入的图像充满整个单元格,使用哪种方式可以做到() A: size="100" B: size="100%" C: width="100" D: width="100%"