Advertisement
Guest User

Untitled

a guest
May 17th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. //porownuje znaki bitowo
  5. int main() {
  6.  
  7. int a, b;
  8.  
  9. a=-13;
  10. b=-12;
  11. (a>>31==b>>31) ? printf("ten sam znak") : printf("rozny znak");
  12.  
  13.  
  14.  
  15.  
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement