题目内容

Directions: The following paragraphs are given in a wrong order. You are required to reorganize these paragraphs into a coherent article by choosing from the list A—G to fill in each number box. Paragraph C and F have been correctly placed.Self-identity is key to college success

查看答案
更多问题

有程序段如下:运行该程序的结果是( )。char a[3],b[ ]=”China”;a=b;printf(“ %s ”,a);

A. 编译出错
B. 运行结果为China
C. 运行结果为Ch
D. 运行结果为空串

若有定义int a[4][5],则元素a[2][3]是数组中第 ( )个元素。

A. 13
B. 14
C. 8
D. 9

若有定义和语句: 则结果是(以下u代表空格)_____。char s[10];s="abcd";printf("%s\n",s);

A. 输出abcd
B. 输出a
C. 输出abcduuuuu
D. 编译不通过

以下程序的输出结果是 ______。#include"stdio.h"void main(){ char s[]={"012xy"};int i,n=0;for(i=0;s[i]!=0;i++)if(s[i]>='a'&&s[i]<='z') n++;printf("%d\n",n);}

A. 0
B. 2
C. 3
D. 5

答案查题题库