fork download
  1. #include <stdio.h>
  2.  
  3. int foo ();
  4. double bar ();
  5.  
  6. int
  7. main (void)
  8. {
  9. printf ("int foo () %u\n", sizeof (foo()));
  10. printf ("double bar () %u\n", sizeof (bar()));
  11. return 0;
  12. }
  13.  
  14. double
  15. bar (void)
  16. {
  17. return 1.1;
  18. }
  19.  
  20. int
  21. foo (void)
  22. {
  23. return 0;
  24. }
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
int foo () 4
double bar () 8