fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. char threeStr[3] = "ab";
  6. strcpy(threeStr, "abc");
  7. printf(threeStr);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
abc