fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. int x = 10, y = 2, res;
  6. res = x % y;
  7. res += 1;
  8.  
  9. printf ("Res is %d/n",res);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
Res is 1/n