请问stdio.h和math.h对下面这个程序有什么影响?区别在哪里?

#include <stdio.h>
main()
{
printf("sb");
}

#include <stdio.h>
main()
{
printf("sb");
}

printf(); 是C语言系统标准输出函数,需头文件 stdio.h
math.h 是C语言系统数学库函数头文件,用 sqrt(), sin(),cos() 这些数学库函数时才需要。
math.h 对你这个程序没影响。
有的编译器,stdio.h 可以不写,编译器自己会去找。
温馨提示:答案为网友推荐,仅供参考
第1个回答  2013-10-10
我觉的没有影响
相似回答