S.no abs() fabs()
1. Used for integer values Used only for floating type
2. Prototype is under < stdlib.h > Prototype is under < math.h >
3. Returns absolute value of integer Returns absolute value of a floating-point

Suggest An Answer

No suggestions avaliable!