fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main ()
  4. {
  5. double d = 10;
  6. int x = 5;
  7.  
  8. x = (int) d + x;
  9. d = (double)x + d;
  10.  
  11. printf("%lf\n" , d);
  12. printf("%d" , x);
  13. return 0;
  14. }
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
25.000000
15