• 2022-06-19
    下列#include命令中,正确的是()。
    A: #include
    "math.h"
    B: #include
    [math.h]
    C: #include
    (math.h)
    D: #include
    {math.h}
  • A

    内容

    • 0

      宏命令#include[math.h]与#include"math.h>"等价

    • 1

      一个C语言源程序中如果调用了函数fabs,那必须有编译预处理命令( )。 A: include <stdio.h> B: include <math.h> C: include <ctype.h> D: include <stdlib.h>

    • 2

      ‎在C程序中如果要使用数学函数,如sin(x),log(x)等,需要在程序中加入的语句是‎ A: include <math.h> B: include <stdio.h> C: define <math.h> D: define <stdio.h>

    • 3

      ‍在C程序中如果要使用数学函数,如sin(x),log(x)等,需要在程序中加入的语句是‏ A: include <math.h> B: include <stdio.h> C: define <math.h> D: define <stdio.h>

    • 4

      ‍在C程序中如果要使用数学函数,如sin(x),log(x)等,需要在程序中加入的语句是​ A: include <math.h> B: include <stdio.h> C: define <math.h> D: define <stdio.h>