Advertisement
Lauda

Untitled

Jan 9th, 2012
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. int a =13;
  2. int b=2;
  3.  
  4. (a&b)   ? printf("a") : printf("b");
  5. (a&&b)  ? printf("a") : printf("b");
  6. (a|b)   ? printf("a") : printf("b");
  7. (a||b)  ? printf("a") : printf("b");
  8.  
  9. What will be printed on the screen:
  10. a)aaaa
  11. b)baaa
  12. c)baba
  13. d)abba
  14. e)aabb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement