Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I was wondering if anyone could tel

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I was wondering if anyone could tell me what are the advantages of using stacks over anything else. Its for school. Thanks
 
Hey,
You just gotta know one thing yaar...Its all what we implemented...Stack is something we defined and we're using it...its so easy to violate it and access the stack from anywhere...As you said its for school i'll say something else
-LIFO(Last In First Out)
-Recursion uses stacks for keeping old data
-At system level you need stack to do every other thing coz you got only less registers
Its all application specific...You can't say stack is advantageous than something else...It has its own advantages and applications...
Regards
Ekanth

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top