一个C语言源程序中如果调用了函数fabs,那必须有编译预处理命令( )。
A: include
B: include
C: include
D: include
A: include
B: include
C: include
D: include
举一反三
- 一个C语言源程序中如果调用了函数fabs,那必须有编译预处理命令( )。 A: B: include <stdio.h> C: D: include <math.h> E: F: include <ctype.h> G: H: include <stdlib.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”
- 使用scanf()函数时,在源程序开头必须写预处理命令( ) A: include <stdio.h> B: include <stdio > C: include <stdio.h> D: include <scanf.h>
- 如果程序中需要用到数学函数,头文件应该表示为()。 A: B: include " system.h " C: D: include " math.h " E: F: include " stdio.h " G: H: include " string.h "
- 下列#include命令中,正确的是________。 A: B: include "math.h" C: D: include [math.h] E: F: include (math.h) G: H: include {math.h}