有如下程序段: #include<stdio.h> #define Max(a,b) a>b?a:b main() { int a=5,b=6,c=4,d; d=c+Max(a,b); printf("%d",d); } 其输出结果为______。
A.10
B.5
C.6
D.编译错误
第1题:
在C程序中如果要使用数学函数,如sin(x),log(x)等,需要在程序中加入的语句是
A.#include <math.h>
B.#include <stdio.h>
C.#define <math.h>
D.#define <stdio.h>
第2题:
16、在C程序中如果要使用数学函数,如sin(x),log(x)等,需要在程序中加入的语句是
A.#include <math.h>
B.#include <stdio.h>
C.#define <math.h>
D.#define <stdio.h>
第3题:
在C程序中如果要使用数学函数,如sin(x),log(x)等,需要在程序中加入的语句是()
A.#include <stdio.h>
B.#define <stdio.h>
C.#include <math.h>
D.#define <math.h>
第4题:
在C程序中如果要使用数学函数,如sqrt(x),pow(x,y)等,需要在程序中加入的语句是______
A.#define <math.h>
B.#define <stdio.h>
C.#include <stdio.h>
D.#include <math.h>
第5题:
2、在C程序中如果要使用数学函数,如sin(x),log(x)等,需要在程序中加入的语句是
A.#include <math.h>
B.#include <stdio.h>
C.#define <math.h>
D.#define <stdio.h>