程序中调用了库函数strcmp,必须包含头文件
A: math.h
B: string.h
C: ctype.h
D: stdlib.h
A: math.h
B: string.h
C: ctype.h
D: stdlib.h
举一反三
- 程序中调用了库函数exit,必须包含头文件()。 A: string.h B: stdlib.h C: ctype.h D: math.h
- 如果在程序中调用库函数sqrt,则程序中必须包含的头文件( )。 A: string.h B: stdlib.h C: math.h D: ctype.h
- 调用C语言提供的对字符进行处理的库函数时,应包含的头文件是()。 A: ctype.h B: math.h C: stdlib.h D: 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”
- 若C程序中使用了strlen 函数,则要包含下列哪个头文件? A: <;stdlib.h>; B: <;stdio.h>; C: <;string.h>; D: <;math.h>;