Guest User

Untitled

a guest
Jul 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. #define AL_VALUE_IN_RANGE(value, minimum_value, maximum_value) ((value) >= (minimum_value) && (value) <= (maximum_value))
  4.  
  5. int main(int argc, const char *argv[])
  6. {
  7.  
  8. unsigned char a = 8;
  9.  
  10. if (AL_VALUE_IN_RANGE(a, 0, 5))
  11. printf("hello\n");
  12.  
  13. return 0;
  14.  
  15. }
Add Comment
Please, Sign In to add comment