I was wondering, if I do something like this,
Where does the string get saved? Is it saved in stack?Code:
LPWSTR pszString = L"Some string";
LPWSTR pszString = func();
I am asking this because I wanted to know if using returned pszString
in the main function is legal or not. Thanks!