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