fork(2) download
  1. #include <stdio.h>
  2.  
  3. struct Foo
  4. {
  5. int value[3];
  6. };
  7.  
  8. int main()
  9. {
  10. Foo n;
  11. printf("sizeof(Foo) = %u\nsizeof(long double) = %u\n", sizeof(Foo), sizeof(long double));
  12. scanf("%lf", &n);
  13. printf("%lf\n", n);
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0.02s 2684KB
stdin
123.4
stdout
sizeof(Foo) = 12
sizeof(long double) = 12
123.400000