Sunday, 17 May 2015

C : Stack implementation using array

Stack is one of the data structure. Follows one approach known as LIFO(Last In First Out). Stack palys vital role in programming, especially in recursive programming. Whenever a programe is loaded into RAM four blocks of memory is created (stack, heap, code, data).  Return address, Formal arguments, are stored in this stack section. So this programe's aim is to make a small prototype of stack.

No comments:

Post a Comment