fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. float a[1];
  6. double *m;
  7. a[0] = 123.4;
  8. a[1] = 0;
  9.  
  10. m = (double*)&a[0];
  11.  
  12. *m=(double) 103215131831793;
  13.  
  14. printf("%f %f\n", a[0], a[1]);
  15.  
  16. return 0;
  17. }
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
46032748544.000000 107.734200