Guest User

Untitled

a guest
Jan 22nd, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3.  
  4.  
  5. int main(int argc, char** argv){
  6.     union{
  7.         int i;
  8.         int b:1;
  9.     } num;
  10.    
  11.     num.i = 123123127;
  12.    
  13.     printf("%d: %s", num.i, num.b == 0 ? ("even") : ("odd"));
  14. }
Add Comment
Please, Sign In to add comment