abs 函式計算並返回其參數的絕對值abs(x)=|x|當x>=0 時,abs(x)=x;當x<0 時,abs(x)=-x;函式名abs功能求整數的絕對值頭檔案stdlib.h或math.h函式原型int abs(int i)
確定! 回上一頁