fork download
  1. #include <stdio.h>
  2. int main(void) {
  3. int i,j;
  4. float f,g;
  5. i = 5; j = 2;
  6. f = 3.0;
  7. f = f + j / i;
  8. g = (f + j) / i;
  9. printf("value of f,g is %f,%f\n", f,g);
  10. return 0;
  11. }
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
value of f,g is 3.000000,1.000000