单选题
👁️ 浏览量:

试题题干

调用系统函数fabs时,应选用的文件包含是()

A

#include ″stdio.h″

B

#include ″string.h″

C

#include ″ctype.h″

D

#include ″math.h″

参考答案

正确答案:

试题解析

fabs函数是一个求绝对值的函数,故文件包含命令应该为#include ″math.h″。