fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int a, b, value;
  5. a = 1;
  6. b = 2;
  7.  
  8. if (a / b) { value = 1; }
  9. else { value = 0; }
  10.  
  11. printf("결과값은 ");
  12. printf("%d\n", value);
  13. }
  14.  
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
결과값은 0