The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
85 views

Building a heap in C++

I am learning heaps in C++ and I have a question about heapify function. So in order to build a heap from a random array, you put the elements from the array in a binary tree in order in which they ...
-2
votes
0answers
71 views

Where will object declared as local variable reside in stack or heap?

In java I have heard that object resides in heap memory and local variables reside in stack. Objects created and referenced in a function is local to function rite? Where will that go to. class ...