如果程序中需要用到数学函数,头文件应该表示为()。
A:
B: include " system.h "
C:
D: include " math.h "
E:
F: include " stdio.h "
G:
H: include " string.h "
A:
B: include " system.h "
C:
D: include " math.h "
E:
F: include " stdio.h "
G:
H: include " string.h "
举一反三
- 如果程序中用到标准库函数sqrt( )和strcmp( ),那么该程序应含下面哪两条语句( ) A: B: include “stdio.h” C: include “math.h” D: E: include “math.h” F: incluede “string.h” G: H: include “string.h” I: include “stdio.h” J: K: include “stdlib.h” L: include ”math.h”
- 下列#include命令中,正确的是________。 A: B: include "math.h" C: D: include [math.h] E: F: include (math.h) G: H: include {math.h}
- 在C程序中如果要使用数学函数,如sin(x),log(x)等,需要在程序中加入 A: B: include <;math.h>; C: D: include <;stdio.h>; E: F: define <;math.h>; G: H: define <;stdio.h>;
- 以下写法正确的有() A: B: include{stdio.h} C: D: include(stdio.h) E: F: include; G: H: include"stdio.h"
- 使用库函数前包含头文件stdio。h的正确命令是( )。 A: @include<stdio.h> B: #include<stdio.h> C: #include stdio.h D: #include”stdio.h”