MORE IMPORTANT ABOUT STACK

Best Blogger Tips

QUE:=>There is a que arise why we use two implementations of stack

=> the answer is there exit a main difference between two implementation(representation)
*In static we fix memory at the starting of repsntation
*Therefore memory fix 
*In efficient use of memory
While


In dyanamic(linked repsntation) we allocate memory at the execution time. 
*Effective us of memory
*We allocate memory according to our need
*So provide flexibility to programer

THATS WHY WE MORE USE LINKED OR DYANAMIC IMPLEMENTATION.

Kindly Share The Love »»

Save on Delicious

No comments:

Post a Comment