1 Answer - Sort by: Date | Rating
Stack work on first in first out basis..
When we pop a stack it pop outs the top most value of a stack.
For example we have following stack
1
2
3
4
5
6
Now 1 is the top most value of the stack.. Now if we pop the stack, 1 which is the top most value will popped out of the stack and the stack will be
2
3
4
5
6
Now we push a value say 19
In case of push the value which need to be pushed will be placed at the top of stack. After pushing 19 the stack will be:
19
2
3
4
5
6
Hope it helps you!
Sorry for poor English:)
When we pop a stack it pop outs the top most value of a stack.
For example we have following stack
1
2
3
4
5
6
Now 1 is the top most value of the stack.. Now if we pop the stack, 1 which is the top most value will popped out of the stack and the stack will be
2
3
4
5
6
Now we push a value say 19
In case of push the value which need to be pushed will be placed at the top of stack. After pushing 19 the stack will be:
19
2
3
4
5
6
Hope it helps you!
Sorry for poor English:)
1
0
- What Are Data-capture Methods In Database?
- What Are The Types Of Vbscript Procedure Explain It In Pointwise?
- What Are The Five Component Parts (symbols) Of A DFD?
- List Traditional Steps Of The System Approach?
- Where Can I Apply For IT Learnership In Johannesburg?
- Explain The Used Of Different Component Of Electronics?
- How Statistics Is Applied In Industrial Technology?
- Discuss Some Of The Issues And Consequences Of Integrating New Systems (web 2.0) Into Existing And Legacy Systems?
- What Are The Disadvantages Of A Assembler?
- When Is At&t U-verse Getting Funimation?
- What Are Form Factors?
- What R The Importance Of It Act?
- How Ethics Determine The Development Of Technology?
- 3. What Is The Difference Between Technical Support And Technical Development?
- Explain The Importance Of IT ACT 2000?
- What Is Pass Structure Of An Assembler?
- What Is Double Pass Assembler?
- What Is Fdma?how Is It Useful In Communication?
- How Can Marks Of 50 Students Be Put In Classes Of 10?
- Give The Salient Features Of SQL?
- What Are Modern Developments Of Science?
- What Is Difference Between Multithreading And Mutiprocessing?
- What Are The Limitations Of Filebase System?
- What Are Guidelines For Technical Support?
- What Are The Features Of Aix Assembler?

New Comment - Comments are editable for 5 min.