Guest User

Untitled

a guest
Feb 23rd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. #define F1(X) ((X > 0) ? X : -(X))
  4. #define F2(X) (X > 0) ? X : -X
  5.  
  6. int main(){
  7. int a=5, b=10;
  8. printf("F1=%d, F2=%dn", F1(a-b), F2(a-b));
  9. return 0;
  10. }
Add Comment
Please, Sign In to add comment