int abs(int);
long labs(long lNumber);
* Note: Since C does not allow function overloading, these other versions of this function exist.
#include <iostream>
#include <cstdlib>
int main() {
using namespace std;
cout << abs(17) << endl;
cout << abs(-17) << endl;
return 0;
}
© 20072025 XoaX.net LLC. All rights reserved.