C期末复习资料_2009精简_.docVIP

  • 14
  • 0
  • 约2.45万字
  • 约 22页
  • 2016-05-20 发布于天津
  • 举报
C期末复习资料_2009精简_.doc

复习资料(2009.5) C语言基础 1)int, char, float, double are all basic data types in C language. (对) 2)Provided that the length of int is 16 bits, then the value scope of unsigned int is:(B) A.0~255 B.0~65535 C.-32768~32767 D.-256~255 3)The declaration is: int k=0,a=0,b=0; unsigned long w=5; double x=1.42,y=0; then the incorrect expression is_A__ A.y=x%3 B. w+= -2 C. x=w+5 D. k*=a+b 4) In C, basic data types are int, char, float and _double_____. 5) Given declaration: char c=’\035’; the size of c is __1____bytes. 混合数据类型的运算 1)Suppose declaration: char a=’c’; then statement: pri

文档评论(0)

1亿VIP精品文档

相关文档