定义count为无符号字符型自动变量,该变量位于data区中且初值为0:unsigned charcount = 0 ;
举一反三
- 将变量temp定义为片外RAM区的无符号字符型变量的正确写法是( ) A: unsigned char data temp B: signed char data temp C: unsigned char code temp D: unsigned char xdata temp
- 将aa定义为片外RAM区的无符号字符型自动变量的正确格式是______。( ) A: unsigned char xdata aa; B: extern signed char data aa; C: unsigned char data aa; D: signed char xdata aa;
- 用DIM定义数值变量时,该数值变量自动赋初值为0
- 设编译模式为Small,将bmp定义为片内RAM区的无符号字符型变量的正确写法是( )。 A: char data bmp; B: unsigned char bmp; C: extern signed char data bmp; D: unsigned char xdata bmp;
- 设编译模式为SMALL,将csk定义为片内RAM区的无符号字符型变量的正确写法是()。 A: char data csk; B: unsigned char csk; C: extern signed char data csk; D: unsigned char xdata csk;