(a) We simulate the operation PUSH(STACK, WWW):
1. Since TOP = 3, control is transffered to Step 2.
2. TOP = 3 + 1 = 4.
3. STACK[TOP] = STACK[4] = WWW.
4.Return.
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE
1. Since TOP = 3, control is transffered to Step 2.
2. TOP = 3 + 1 = 4.
3. STACK[TOP] = STACK[4] = WWW.
4.Return.
0 comments:
Post a Comment