fork(3) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. const char *arr[] = {
  5. "xyz",
  6. "abc",
  7. "pqr",
  8. NULL
  9. };
  10.  
  11. int main() {
  12. arr[1] = "ghi";
  13. return 0;
  14. }
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty