SabirSazzad

Integer value assign (using && ||)

Feb 20th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int m = 5 && 2 && -3;
  5.     int n = 12 || 6 || 0;
  6.     int o = 3 && 0 && 9;
  7.     printf("%d\n%d\n%d\n",m,n,o);
  8.     return 0;
  9.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment