在C语言中,常用的数学函数所在的头文件是哪个( )
A: stdio.h
B: sting.h
C: math.h
D: stdlib.h
A: stdio.h
B: sting.h
C: math.h
D: stdlib.h
C
举一反三
- 数学类函数所在的头文件是( )。 A: stdio.h B: string.h C: stdlib.h D: math.h
- c程序实现输入输出的函数头文件是什么? A: stbin.h B: stdi.h C: stdio,h D: stdio.h
- 常用的数学处理类系统函数所在的头文件是( ) A: math.h B: ctype.h C: dos.h D: stdlib.h
- 如果程序中需要用到数学函数,头文件应该表示为()。 A: B: include " system.h " C: D: include " math.h " E: F: include " stdio.h " G: H: include " string.h "
- C语言的输入输出函数包含在哪一个头文件中()? A: stdio.h B: math.h C: stdlib.h D: string.h
内容
- 0
使用库函数前包含头文件stdio。h的正确命令是( )。 A: @include<stdio.h> B: #include<stdio.h> C: #include stdio.h D: #include”stdio.h”
- 1
随机函数rand()所在的库文件为( )。 A: stdlib.h B: time.h C: stdio.h D: math.h
- 2
若C程序中使用了strlen 函数,则要包含下列哪个头文件? A: <;stdlib.h>; B: <;stdio.h>; C: <;string.h>; D: <;math.h>;
- 3
在C语言中实现产生随机数功能需要用到的头文件为: A: math.h B: stdio.h C: string.h D: stdlib.h
- 4
在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>;