[code] char[] test(){ auto t = new char[5]; return t; } [/code] Is the test function returning just a pointer from heap or does copy operation? It is not obvious what it does, and I am trying to avoid doing this always.