Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

C/C++: Retouner la valeur absolue d’un ‘long’


{filelink=13207}

/*
#include <stdlib.h>
long labs ( long n  );
 
*/ 
 
  #include <stdlib.h>
  #include <stdio.h>
 
  int main(void)
  {
    printf("%dn", labs(-12302058));
 
	return 0;
  }

No comments yet.

Leave a Comment