fork(1) download
  1. #include <stdio.h>
  2. int main(void) {
  3. // your code goes here
  4. int m=1;
  5. printf("(float)m/2=%f\n",(float)m/2);
  6.  
  7. printf("(float)(m/2)=%f\n",(float)(m/2));
  8. printf("m=%d",m);
  9.  
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5320KB
stdin
5
stdout
(float)m/2=0.500000
(float)(m/2)=0.000000
m=1