Suppose a variable is created by "new" only once and the memeory is not released until the process having it ends. What effect will be caused?
int main()
{
int *i = new int;
.... //other code
return 0;
}
Suppose a variable is created by "new" only once and the memeory is not released until the process having it ends. What effect will be caused?
int main()
{
int *i = new int;
.... //other code
return 0;
}