Back To C++ Built-In Functions Index
//program to input an integer variable and find absolute value of the number using fabs function in math.h (absolute value means mod of the number) #include
#include
#include
void main() { int a=-100; int b; b=fabs(a); clrscr(); cout<<"absolute value of a is "<