Discussion:
Why is this legal?
(too old to reply)
s***@gmail.com
2019-05-03 07:13:04 UTC
Permalink
I don't know what is going on with my phone I been till everyone that my account is not working right Google
d***@gmail.com
2020-07-15 23:10:15 UTC
Permalink
Can you help me out
Kaleb Frey
2020-09-15 18:54:38 UTC
Permalink
Post by d***@gmail.com
Can you help me out
Wth are nasal demons
Tressa Smith
2022-08-27 12:42:47 UTC
Permalink
----->8 Clip 'n' compile 8<----
/*
* Your compiler may warn that the size of `struct foo' is
* zero, but that doesn't mean it won't generate the
* executable correctly
*/
typedef struct A *A;
struct foo *foo;
main()
{
printf("hello\n");
printf("*foo size: %d\n", sizeof(struct foo) );
At this point, the compiler is at liberty to generate a program which formats
your hard disk drive. In fact, it probably should. 3.3.3.4, 1.6, six two and
even, over and out.
printf("A size: %d\n", sizeof(A) );
}
Loading...