下列程序的运行结果为________。 #include "stdio.h" #...f("%d",MA(1+a+b)); }
举一反三
- 下列程序的运行结果为________。#include"stdio.h"#def...("%d\n",MA(1+a+b));}
- 下列程序的运行结果为________。 #include "stdio.h" #define MA(x) x*(x-1) void main() { int a=1,b=2; printf("%d",MA(1+a+b)); }
- 使用库函数前包含头文件stdio。h的正确命令是( )。 A: @include<stdio.h> B: #include<stdio.h> C: #include stdio.h D: #include”stdio.h”
- 以下写法正确的有() A: B: include{stdio.h} C: D: include(stdio.h) E: F: include; G: H: include"stdio.h"
- 使用scanf()函数时,在源程序开头必须写预处理命令( ) A: include <stdio.h> B: include <stdio > C: include <stdio.h> D: include <scanf.h>