题目内容

有以下程序: #include <stdio.h> main() int c; while((c=getchar())!=’\n’) switch(c-’3’) fcase 0; case 1:putchar(c+4); case 2:putchar(c+4);break; case 3:putchar(c+3); case 4:putchar(c+3);break; printf("\n"); 从第一列开始输入数据(<CR>代表一个回车符):3845<CR>,则程序输出结果为______。

A. 77889
B. 77868
C. 776810
D. 77886610

查看答案
更多问题

下列叙述中错误的是______。

A. C语句必须以分号结束
B. 复合语句在语法上被看做是一条语句
C. 空语句出现在任何位置都不会影响程序运行
D. 赋值表达式末尾加分号就构成赋值语句

在登记会计账簿中,凡需要结出余额的账户,结出余额后,应当在“借或贷”等栏内写明“借”或者“贷”等字样。没有余额的账户,应在“借或贷”栏内写______字,并在“余额”栏用______表示。

以下程序的运行结果是______。 main() int a=-5,b=1,c=1; int x=0,y=2,z=0; if(c>0)x=x+y; if(a<=0) if(b>0) if(c<=0)y=x-y; else if(c>0)y=x-y; else z=y; printf("%d,%d,%d\n",x,y,z);

A. 2,2,0
B. 2,2,2
C. 0,2,0
D. 2,0,2

True, some of the attacks against whites by blacks are for money and valuables. But, others ale revenge assaults by blacks for a real or imagined racial insult. It is equally true that the vast majority of violent crimes against whites are committed by whites, while the vast majority of violent crimes against blacks are committed by other blacks. Yet even after discounting crimes that are hastily and erroneously (错误地,不正确地) tagged as racially motivated, many blacks do attack whites because they all white. A 1998 Justice Department study confirmed that nearly 20% of the more than 4,000 hate crimes well committed against whites, and their attackers were blacks. The Southern Poverty Law Center also notes that there is a huge escalation in black-on-white violence from nearly none at the beginning of the 1990s. A collection of white supremacists and rightist extremist groups have eagerly made black-on-white violence a wedge issue in their movement to paint blacks as the prime racial hate mongers in America. The New Century Foundation, an ultra-conservative think-tank, has launched a full-blown national campaign to alert whites to the danger of black hate crimes. These groups and individuals magnify hate crimes by blacks in order to back their social agenda. They oppose affirmative action programs and stronger hate crime laws. They downplay, or justify, the proliferation of white-supremacist-tinged paramilitary groups, police violence, and racial profiling. And they lobby hard for more prisons, police, and tougher laws. Black-on-white violence also reinforces white fears of blacks as the ultimate menace to society. When blacks say or do nothing about these attacks, it is taken by some as a tacit signal that blacks put less value on white lives than black lives. This is a terrible price for black silence on hate crimes committed by blacks. The best topic of this passage is______.

A. Black and White
Black-on-White Violence
C. Security Is an Illusion
D. White Supremacists and Rightist Extremist Groups

答案查题题库