下列选项中,能填入空白处4的代码是()
A: chs[i] = letters[index];
B: chs[i] = letters[i];
C: chs[index] = letters[i];
D: chs[index] = letters[index];
A: chs[i] = letters[index];
B: chs[i] = letters[i];
C: chs[index] = letters[i];
D: chs[index] = letters[index];
举一反三
- 下列选项中,能填入空白处3的代码是() A: !flags[index] B: !flags[i] C: flags[index] D: flags[i]
- 下列选项中,能填入空白处5的代码是() A: flags[i] = true; B: flags[i] = false; C: flags[index] = true; D: flags[index] = false;
- 下列选项中,能填入空白处2的代码是() A: index = rd.nextInt(); B: index = rd.nextInt(5); C: index = rd.nextInt(len + 1); D: index = rd.nextInt(len);
- #include<stdio.h> main() {int i,index,n: int a[10]; scanf("%d",&n); for(i=0;i<n;i++) scanf("%d",&a[i]); index=0; for(i=1;i<n;i++) {if(a[i]<a[index])index=i;} printf("min=%d,index=%d\n",a[index],index); } 程序运行时输入5 7 9 5<回车>,则程序运行结果是:______[/i][/i]
- I will be a ________ and delieve letters everywhere.