• 2022-06-01
    如果在程序中需要用到strcpy、strcat等库函数时,需要用#include包含头文件。
    A: math.h
    B: string.h
    C: ctype.h
    D: stdio.h
  • B

    内容

    • 0

      程序中调用了库函数exit,必须包含头文件()。 A: string.h B: stdlib.h C: ctype.h D: math.h

    • 1

      程序中调用了库函数strcmp,必须包含头文件 A: math.h B: string.h C: ctype.h D: stdlib.h

    • 2

      【单选题】要调用文件处理函数时,在#include 命令行中应包含( ). A: "ctype.h" B: "string.h" C: "stdio.h" D: "math.h"

    • 3

      使用strcpy函数应该包含头文件____。 A: stdio.h B: conio.h C: string.h D: math.h

    • 4

      要调用数学处理函数时,在#include命令行中应包含()。 A: "stdio.h" B: "string.h" C: "math.h" D: "ctype.h"