fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4.  
  5. typedef struct example
  6. {
  7. char length[2];
  8. } STRUCT;
  9.  
  10. int main (void)
  11. {
  12. STRUCT test;
  13. unsigned int foo = 42;
  14. strcpy(test.length, "********");
  15. puts(test.length);
  16. printf("%u", foo);
  17. return 0;
  18. }
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
********
707406378