document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. struct line {
  5.         int length;
  6.         char contents[];
  7. };
  8.  
  9. struct lines {
  10.         struct line l;
  11.         int line_num;
  12. };
  13.  
  14. int main(void)
  15. {
  16.         struct lines ls;
  17.  
  18.         ls.l.length = 10;
  19.         strncpy(ls.l.contents, "lines", strlen("lines") + 1);
  20.  
  21.         struct line line_array[10];
  22.  
  23.         line_array[5].length = 10;
  24.         strncpy(line_array[5].contents, "lines", strlen("lines") + 1);
  25.  
  26.         line_array[4].length = 10;
  27.         strncpy(line_array[4].contents, "lines", strlen("lines") + 1);
  28.  
  29.         return 0;
  30. }
');