Hi, I've wondered this for some time now.
Say function A() returns a char* which points to a string.. obviously
Say function B(char* szString) takes a char* as its argument.
If I call B(A()).. is the string automatically deleted or will it create a memory leak?
Thanks