fork(1) download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. auto x = 1.;
  8.  
  9. cout
  10. << sizeof (double) << ' '
  11. << sizeof (long double) << ' '
  12. << sizeof x << ' '
  13. << sizeof 1. << endl;
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
8 12 8 8