C-FAQ #0206
Avinash Narwekar
05:04s1500 comment
C Programming - Structures, Unions, Enumerations Someone declared a structure like this : struct name { int len; char str[1]; }; and then did some tricky allocation to make the str array act like it had several elements, with the number recorded by len. How does this work?
Embed code