Did the author make a mistake in explaining stack and heap in C++ or am I misreading something? – stackoverflow.com

Here is the code: int main() { using namespace std; int nights = 1001; int * pt = new int; // allocate space for an int *pt = 1001; // store a value there cout << ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Did the author make a mistake in explaining stack and heap in C++ or am I misreading something? – stackoverflow.com"