
1-14
Computer Programming with C
math.h: is le contains all mathematical and other useful functions. e commonly useful func-
tions from this les are floor(), abs(), ceil(), pow(), sin(), cos() and tan(). e list
of commonly used header les are given in Table 1.2
Sr. No. Header File Functions Function Examples
1.
stdio.h
Input, output and le operation functions
printf(), scanf()
2.
conio.h
Console input and output functions
clrscr(), getche()
3.
alloc.h
Memory allocation-related functions
malloc(), realloc()
4.
graphics.h
All graphic-related functions
circle(), bar3d()
5.
math.h
Mathematical functions
abs(), sqrt()
6.
string.h
String manipulation functions
strcpy(), ...