fork download
  1. #include <stdio.h>
  2.  
  3. typedef struct { int foo[100]; } bar;
  4. typedef struct { bar *baz;} foobar;
  5. foobar fu;
  6.  
  7. int main(void) {
  8. printf("*&foobar:%zu fu:%zu bar:%zu",
  9. sizeof (*(foobar*)0),
  10. sizeof fu,
  11. sizeof *fu.baz);
  12. }
  13.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
*&foobar:8 fu:8 bar:400