labs: returns the absolute value of num : labs « stdlib.h « C / ANSI-C






labs: returns the absolute value of num


    

//Declaration:  long int labs(long int num); 

  #include <stdlib.h>
  #include <stdio.h>

  int main(void){


    printf("%d", labs(-11111));
  }

         
/*
11111*/        

           
       








Related examples in the same category