【单选题】
下述对C语言字符数组的描术中错误的是___
A. 字符数组可以存放字符串
B. 字符数组中的字符串可以整体输入、输出
C. 可以在赋值语句中通过赋值运算符“=”对字符数组整体赋值
D. 不可以用关系运算符对字符数组中的字符串进行比较
查看试卷,进入试卷练习
微信扫一扫,开始刷题
答案
C
解析
暂无解析
相关试题
【单选题】
若变量c为char类型,以下哪个表达式说明c为小写字母___
A. 'a'<=c<= 'z'
B. (c>= 'a')||(c<= 'z')
C. ('a'<=c) and ('z'>=c)
D. (c>= 'a')&&(c<= 'z')
【单选题】
若变量已正确定义为 int 型,要给 a、 b、 c 输入数据,正确的输入语句是___
A. read(a,b,c)
B. scanf("%d %d %d",a,b,c)
C. scanf("%D%D%D",&a,&b,&c)
D. scanf("%d%d%d",&a,&b,&c)
【单选题】
执行后的输出结果是___。
A. 0
B. 1/2
C. 0.5
D. 1
【单选题】
每个C语句和数据声明的最后必须有一个___
A. “”
B.
C. ‘ ’
D. \
【单选题】
C语言中字符串常量是由一对___起来的若干字符序列(写汉字)
A. “ ”
B.
C. ‘ ’
D. \
【单选题】
一个循环体内又包含另一个完整的循环结构,称为___
A. 循环递归
B. 循环终止
C. 死循环
D. 循环的嵌套
【单选题】
在循环结构中用___语句提前结束本次循环
A. default
B. break
C. continue
D. switch
【单选题】
如果有一个数组s[5],那么此数组的第一个元素是:___
A. s[1]
B. s[0]
C. s[5]
D. s[2]
【单选题】
二维数组s[4][5]共有20个元素,那么第5个元素是___
A. s[1][5]
B. s[0][4]
C. s[5][5]
D. s[0][5]
【单选题】
如果有定义:int w=4,x=3,y=2,z=1;则表达式w<x?w:z<y?z:x的结果为___
A. 1
B. 1/2
C. 0.5
D. 2
【判断题】
C程序是由函数构成的,每一个函数完成相对独立的功能。
A. 对
B. 错
【判断题】
被main函数调用的函数只能是库函数。
A. 对
B. 错
【判断题】
在C源程序中,之间的注释信息也被编译,但对程序运行结果不发生影响。
A. 对
B. 错
【判断题】
在C语言中,字母的大小写不被区分。
A. 对
B. 错
【判断题】
对C语言中用到的任何一个变量都要先定义其类型再使用。
A. 对
B. 错
【判断题】
字符型数据和整数之间是不可以通用的。
A. 对
B. 错
【判断题】
字符常数和字符串常数的存储是相同的,都是以字符的ASCLL码值进行存放。
A. 对
B. 错
【判断题】
C语言中的标识符以字母或下划线开头,可跟任何字符。
A. 对
B. 错
【判断题】
条件运算符“?:”的优先级高于赋值运算符。
A. 对
B. 错
【判断题】
C程序中的一个变量可以被定义为两个或多个不同的类型。
A. 对
B. 错
【判断题】
转义字符是一种常量。
A. 对
B. 错
【判断题】
赋值语句是一种表达式语句。
A. 对
B. 错
【判断题】
复合语句是由多条语句组成的,因此它不是一条语句。
A. 对
B. 错
【判断题】
return后面括号里的表达式的值即是此函数的值。
A. 对
B. 错
【判断题】
任何数组在使用时必须先定义。
A. 对
B. 错
【判断题】
指针就是地址,因此一个变量的指针就是该变量的地址。
A. 对
B. 错
【判断题】
只有在函数被调用时,其形式参数才临时地占有存储空间。
A. 对
B. 错
【判断题】
变量根据其作用域的范围可以分作局部变量和全局变量。
A. 对
B. 错
【判断题】
while和do…while循环不论什么条件下它们的结果都是相同的。
A. 对
B. 错
【判断题】
语句x*=y+8 等价于 x=x*(y+8)。
A. 对
B. 错
【判断题】
C语言中"%"运算符的运算对象必须是整型。
A. 对
B. 错
【判断题】
关系运算符<= 与 == 的优先级相同。
A. 对
B. 错
【判断题】
表达式 (j=3, j++) 的值是4。
A. 对
B. 错
【判断题】
循环结构中的continue语句是使整个循环终止执行。
A. 对
B. 错
【判断题】
标准函数scanf()可以从键盘上接受不同数据类型的数据项。
A. 对
B. 错
【判断题】
在if语句的三种形式中,如果要想在满足条件时执行一组多个语句,则必须把这一组语句用{}括起来组成一个复合语句。
A. 对
B. 错
【判断题】
case语句后如没有break语句,顺序向下执行。
A. 对
B. 错
【判断题】
do-while循环至少要执行一次循环语句
A. 对
B. 错
【判断题】
函数的实参可以是常量,变量或表达式。
A. 对
B. 错
【判断题】
下划线是标示符中的合法字符。
A. 对
B. 错
推荐试题
【单选题】
As we can no longer wait for the delivery of our order, we have to _________ it.___
A. postpone           
B. refuse    
C. delay                 
D. cancel
【单选题】
 When a fire _________ at the National Exhibition in London, at least ten priceless paintings were completely destroyed.___
A. broke of             
B. broke out  
C. broke down       
D. broke up
【单选题】
 The destruction of these treasures was a loss for mankind that no amount of money could __________.___
A. stand up to         
B. make up for
C. come up with     
D. put up with
【单选题】
 The student was just about to ___________ the questions, when suddenly he found the answer.___
A. arrive at             
B. submit to  
C. work out             
D. give up
【单选题】
 When there are small children around, it is necessary to put bottles of pills out of _________.___
A. reach                 
B. hand    
C. hold                   
D. place
【单选题】
 The _________ of blood always makes him feel sick.___
A. sight                   
B. view   
C. look                   
D. form
【单选题】
 In Britain, the best season of the year is probably __________ spring.___
A. later                   
B. last   
C. latter                 
D. late
【单选题】
 Free medical treatment in this country covers sickness of mind as well as _________ sickness.___
A. normal               
B. regular  
C. average             
D. ordinary
【单选题】
 Although he had looked through all the reference material on the subject, he still found it hard to understand this point and her explanation only _________ to his confusion.___
A. extended           
B. amounted  
C. added               
D. turned
【单选题】
 A completely new situation will ___________ when the examination system comes into existence.___
A. arise                 
B. rise   
C. raise                 
D. arouse
【单选题】
Cancer is second only __________ heart disease as a cause of death.___
A. of               
B. to        
C. with           
D. from
【单选题】
The manager needs an assistant that he can _________ to take care of problems in his absence.___
A. count on      
B. count in      
C. count up      
D. count out
【单选题】
We gave out a cheer when the red roof of the cottage came __________ view.___
A. from             
B. in         
C. before          
D. into
【单选题】
They took ________ measures to prevent poisonous gases from escaping.___
A. fruitful         
B. beneficial   
C. valid             
D. effective
【单选题】
Doing your homework is a sure way to improve your test scores, and this is especially true _______ it comes to classroom tests.___
A. when             
B. since       
C. before           
D. after
【单选题】
In developing countries people are _______ into overcrowded cities in great numbers.___
A. breaking       
B. filling     
C. pouring         
D. hurrying
【单选题】
There are other problems which I don't propose to ____________ at the moment.___
A. go into        
B. go around     
C. go for         
D. go up
【单选题】
It is quite necessary for a qualified teacher to have good manners and _________ knowledge.___
A. extensive      
B. expansive     
C. intensive       
D. expensive
【单选题】
I'm not sure whether I can gain any profit from the investment, so I can't make a(n) ______ promise to help you.___
A. exact             
B. defined     
C. definite         
D. sure
【单选题】
The sports meet, originally due to be held last Friday, was finally ________ because of the bad weather.___
A. set off             
B. broken off      
C. worn off         
D. called off
【单选题】
It has been revealed that some government leaders _______ their authority and position to get illegal profits for themselves.___
A. employ       
B. take     
C. abuse         
D. overlook
【单选题】
Shelly had prepared carefully for her biology examination so that she could be sure of passing it on her first ________.___
A. intention     
B. attempt  
C. purpose     
D. desire
【单选题】
The store had to _______ a number of clerks because sales were down.___
A. lay out          
B. lay off      
C. lay aside       
D. lay down
【单选题】
All the students in this class passed the English exam ________ the exception of Li Ming.___
A. on                   
B. in      
C. for                 
D. with
【单选题】
Writing is a slow process, requiring _______ thought, time, and effort.___
A. significant     
B. considerable    
C. enormous     
D. numerous
【单选题】
Lightning is a ______ of electrical current from a cloud to the ground or from one cloud to another.___
A. rush                 
B. rainbow   
C. rack                 
D. ribbon
【单选题】
I caught a ________ of the taxi before it disappeared around the corner of the street.___
A. vision             
B. glimpse   
C. look               
D. scene
【单选题】
Students or teachers can participate in excursions to lovely beaches around the island at regular _________.___
A. gaps               
B. rate       
C. length             
D. intervals
【单选题】
Physics is ________ to the science which was called natural philosophy in history.___
A. alike               
B. equivalent  
C. likely               
D. uniform
【单选题】
The new appointment of our president _______ from the very beginning of next semester.___
A. takes effect   
B. takes part  
C. takes place     
D. takes turns
【简答题】
绩效
【简答题】
素质测评
【简答题】
素质测评和绩效考评的区别
【简答题】
选拔性测评
【简答题】
配置型测评
【简答题】
开发性测评
【简答题】
诊断性测评
【简答题】
考核性测评
【简答题】
按测评的目的与用途划分有
【简答题】
选拔性测评的特点