fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int f1 = 1;
  5. int fn = 1;
  6. printf("%d ", f1 == 0 && fn == 1);
  7. printf("%d ", !(f1 == 0 && fn == 1));
  8. printf("%d\n", f1 != 0 || fn != 1);
  9. f1 = 0;
  10. printf("%d ", f1 == 0 && fn == 1);
  11. printf("%d ", !(f1 == 0 && fn == 1));
  12. printf("%d\n", f1 != 0 || fn != 1);
  13. while (f1 != 0 || fn != 1);
  14. }
  15.  
  16. //https://pt.stackoverflow.com/q/327407/101
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
0 1 1
1 0 0