8 lines
81 B
C
8 lines
81 B
C
|
#include <stdlib.h>
|
||
|
#undef abs
|
||
|
|
||
|
int abs(int x)
|
||
|
{
|
||
|
return (x < 0) ? (-x) : (x);
|
||
|
}
|