C++ Playground - reassign using slicing: Online Interpreter, Compiler & Editor | Sololearn