以下写法正确的有()
A:
B: include{stdio.h}
C:
D: include(stdio.h)
E:
F: include;
G:
H: include"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”
- 2.1 关于C程序第1行的包含语句,以下写法中正确的是______。 A: B: includestdio.h C: D: include'stdio.h' E: F: include(stdio.h) G: H: include <;stdio.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 "
- 如果程序中用到标准库函数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”