单项选择题

十六进制数100转换为十进制数为( )。

A.256
B.512
C.1024
D.64
<上一题 目录 下一题>
热门 试题

单项选择题
下列定义变量的语句中错误的是【 】。
A.int_int;
B.double int_;
C.char For;
D.float US$;
单项选择题
若有定义:float x=1.5;int a=1,b=3,C=2;则正确的switch语句是【 】。
A.switch(x) {case 1.0:printf("*\n");case 2.0:prinff("**\n");}
B.switch((int)x); {case 1:printf("*\n");case 2:printf("**\n");}
C.switch(a+b) {case 1:printf("*\n");case 2+1:prinff("**\n");}
D.switch(a+b) {case 1:printf("*\n"); case c:printf("**\n");}
相关试题
  • 有以下程序:int a=2;int f(int n)...
  • 以下程序企图把从终端输入的字符输出到名为...
  • 有以下程序:#include <string.h>stru...
  • 以下程序中函数f( )的功能是将n个字符串...
  • 若有以下说明和定义typedefint * INTEGE...