C++ Playground - using pointer in a function: Online Interpreter, Compiler & Editor | Sololearn