vendredi 28 octobre 2016

Why we have only two data structure "stack" and "heap"?

Why we have only two data structure "stack" and "heap"? like int value will be stored in stack and similarly reference type value will be stored in heap.

Why we cannot use some other data structure? Is there any specific reason to use only two these stack and heap.

Thanks a lot.

Aucun commentaire:

Enregistrer un commentaire