fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. float a = 0.7f;
  5. double b = 0.7;
  6. printf("%.10f %.10f %.10f %.10f\n", 0.7, 0.7f, a, b);
  7. return 0;
  8. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
0.7000000000 0.6999999881 0.6999999881 0.7000000000