C Tutorial/stdlib.h/abs — различия между версиями
| Admin (обсуждение | вклад) м (1 версия: Импорт контента...) | |
| (нет различий) | |
Версия 14:21, 25 мая 2010
abs
Item Value Header file stdlib.h Declaration int abs(int num); Return returns the absolute value of num.
   
#include <stdlib.h>
  #include <stdio.h>
  int main(void){
    printf("%d",abs(-1));
  }