fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x=3;
  5. int y=2;
  6. int z=0;
  7. char op ='/';
  8. z = op == '+'? (x+y) : (x-y);
  9. printf("%d", z);
  10. }
  11.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
1