fork download
  1. #include <stdio.h>
  2.  
  3.  
  4. int a=3, b=8, c=7 ;
  5. float d;
  6.  
  7. void main()
  8. {
  9.  
  10. d = 5 * (a + b) / (a + c);
  11.  
  12. printf("Result is %.1f\n", d);
  13. printf("Result is %.1f\n", &d);
  14. }
  15.  
  16.  
Runtime error #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
Result is 5.0
Result is 5.0