unsigned char a,b; //合法
举一反三
- 下列C语言合法的数据类型关键字是()。 A: Double B: unsigned C: integer D: Char
- 要使C51中的变量用位寻址区的存储单元,可用如下方式___________。 A: unsigned pdata char ver; B: unsigned data char ver; C: unsigned bdata char ver; D: unsigned code char ver;
- 以下能正确定义一维数组的选项是 。 A: unsigned int a[5]={0,1,2,3,4,5}; B: unsigned char a[ ]={0,1,2,3,4,5}; C: unsigned char a={'A','B','C'}; D: unsigned int a[5]="0123";
- 定义一个指向片内RAM40H开始的无符号字节指针的语句是:() A: unsigned char pdata*v=0x40; B: unsigned char data*v=0x40; C: unsigned char xdata*v=0x40; D: unsigned char code*v=0x40;
- 定义一个无符字符数组duanma的语句是:( ) A: char duanma( ); B: char duanma[ ] ; C: unsigned char duanma( ); D: unsigned char duanma[ ];