下载此beplayapp体育下载

C语言英文试题.doc


beplayapp体育下载分类:IT计算机 | 页数:约3页 举报非法beplayapp体育下载有奖
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该beplayapp体育下载所得收入归上传者、原创者。
  • 3.下载的beplayapp体育下载,不会出现我们的网址水印。
beplayapp体育下载列表 beplayapp体育下载介绍
C语言英文试题.doc(完好版)C语言英文试题
(完好版)C语言英文试题
1 / 3
(完好版)C语言英文试题
2009-2010 学年 1 学期 C 语言程序设计 (C) 课程考试一试题
拟题学院(系) : 信息科学与技术学院 拟题人 :
适 用 专 业: 信息 08级,通讯 08级 校正人:
(答案写在答题纸上,写在试题纸上无效)
.Choose the right answer (30 marks) .
Determine the output of the following statement: printf("%d", 'M' - 'N');
A) 'M'-'N' B)M-N
B)3 D)1
Which of following is an illegal user-define symbol?
A) scanf B) _123 C)C$ D)var
Which statement is not a C statement?
C) {int a; a++;} B) z = 20, a += c;
C) ; D) {;}
4. Which operator can only be applied to integers?
A) %= B)/
C)= D)<=
Determine the output of the following program. void main()
{
int y=8,x=7;
printf("%d %d\n", ++x, y++);
}
A) 7,8
B) 9,7
C) 8,8
D) 8,9
6.
Choose the wrong definition for the character strings.
A) char str[4]= “QUST ”;
B) char str[]=
“QUST ”;
C) char *str=
“QUST ”;
D) char str[]={ Q’‘,U ’‘,S’‘,T’,‘‘\0’ };
7.
Determine the output of the following program.
void main()
{
int i, j, m = 0;
for(i=1 ; i<=15 ; i+=5)
for(j=3 ; j<=19 ;j+=3)
1
(完好版)C语言英文试题
(完好版)C语言英文试题
3 / 3
(完好版)C语言英文试题
m++;
}
printf("%d\n",m);
A) 12 B) 15 C) 18 D) 25
For the 2-dimensional array int b[][3]={{1,0,-1},{10,12},{8,3,9},{0}}; the value for the b[2][1] is______.
A)8 B)5 C)3 D)12
9. In the statement while(x), choo

C语言英文试题 来自beplayapp体育下载www.apt-nc.com转载请标明出处.

相关beplayapp体育下载 更多>>
非法内容举报中心
beplayapp体育下载信息
  • 页数3
  • 收藏数0 收藏
  • 顶次数0
  • 上传人书生教育
  • 文件大小82 KB
  • 时间2021-11-13