c++ heap memory claimed once withou release

Viewed 33

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;
}
0 Answers
Related