fork download
  1. void func(const char* &pointer){}
  2.  
  3. int main()
  4. {
  5. const char* mainPointer = "a word";
  6. func(mainPointer);
  7. }
Success #stdin #stdout 0.02s 2676KB
stdin
Standard input is empty
stdout

Standard output is empty