fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void) {
  5. int data[2] = {0};
  6. strcpy((char*)data, "hello");
  7. printf("%s\n", (char*)data);
  8. printf("%d\n", data[0]);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 10320KB
stdin
Standard input is empty
stdout
hello
1819043176