Mathematical Functions
Mathematical functions are available in the math library. Some examples are:
- pow(): to compute powers
- fabs(): to return absolute values
- sqrt(): to compute square roots
Need to include math.h file in your program, and compile with -lm option: cc -lm prog.c
Study the function prototypes in math.h.