Hi,

How can I write a code for ABS() function, without any condtion check?

Usually ABSOLUTE function is implemented as
int abs(int var)
{
if ( var < 0)
var = -var;
return var;
}

I do not want to have any conditional statement.

Thanks
Sandeep