use fabs() for floating point
n is an integer, use abs()
use fabs() for floating point
use fabs() for floating point
use fabs() for floating point
test of array to null pointer is always false
use abs() for integer datatypes