当前位置:首页
> Luz 第6144页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论单选题:After execute the following program, which one of the following
After execute the following program, which one of the following option will be printed on screen?```void fun(int);main(…
单选题:The result of the following program is ( ).
The result of the following program is ( ).```fun(int x, int y, int z) { z=x*x+y*y; } main( ) { int a=31; fun(…
单选题:The output of this program is ( ).
The output of this program is ( ).```#define add(a,b) a+bint main(){ printf("%d\n",5*add(3,4)); return 0;}``` @[B]…
单选题:假设有变量定义:`double f=3.14;` 则对于`printf("%d\n", f);` 和 `printf("%d\n
假设有变量定义:`double f=3.14;` 则对于`printf("%d\n", f);` 和 `printf("%d\n", (int)f);` 两个操作是否可以实现“打印数字`3`并换行”的表述正确的是: @[C](2)A.…
单选题:以下描述不正确的是( )。
以下描述不正确的是( )。 @[C](1)A. 宏名无类型B. 宏替换不占用运行时间C. 宏名必须用大写字母表示D. 宏替换只是字符替换A.宏名无类型B.宏替换不占用运行时间C.宏名必须用大写字母表示D.宏替换只是字符替换答案:C…
单选题:C语言的编译系统对宏命令的处理( )。
C语言的编译系统对宏命令的处理( )。 @[B](1)A. 在程序运行时进行的B. 在对源程序中其他语句正式编译之前进行的C. 在程序连接时进行的D. 和C程序中的其他语句同时进行编译的A.在程序运行时进行的B.在对源程序中其他语句正…
单选题:以下正确的叙述是( )。
以下正确的叙述是( )。 @[A](1)A. 宏替换不占用运行时间,只占用编译时间B. 在程序的一行中可以出现多个有效的预处理命令行C. 使用带参数宏定义时,参数的类型应与宏定义时一致D. 宏定义不能出现在函数内部A.宏替换不占用运行…
单选题:下列选项中不会引起二义性的宏定义是( )。
下列选项中不会引起二义性的宏定义是( )。 @[D](1)A. `#define POWER(x) x*x`B. `#define POWER(x) (x)*(x)`C. `#define POWER(x) (x*x)`D. `#d…
单选题:若a、b、c、d、t均为int型变量,则执行以下程序段后的结果为( )。
若a、b、c、d、t均为int型变量,则执行以下程序段后的结果为( )。 @[C](1)```#define MAX(A,B) (A)˃(B)?(A):(B)#define PRINT(Y) printf("Y=%d\n",Y);....…
单选题:凡是函数中未指定存储类别的局部变量,其隐含的存储类型为( )。
凡是函数中未指定存储类别的局部变量,其隐含的存储类型为( )。 @[A](1)A. 自动(auto)B. 静态(static)C. 外部(extern)D. 寄存器(register)A.自动(auto)B.静态(static)C.外…