A question about c++ pointer# Programming - 葵花宝典
d*n
1 楼
see this
void foo()
{
char *str="whatever";
/*
define function here
*/
return;
}
After foo() returns, will memeory used to store *str be free? (provied that
no delete[] str is used)
void foo()
{
char *str="whatever";
/*
define function here
*/
return;
}
After foo() returns, will memeory used to store *str be free? (provied that
no delete[] str is used)