Answer
Try noting down the address of a local variable. Call another function with a local variable declared in it and check the address of that loca ...
Search results for stack
Stack and Queue interview questions
Posted by CMaster
Stack and Query structures in computing are extremely fundamental and important. Then interviewing I expect candidate to fully understand this data s ...
Very common white board question.
Answer:
Assuming we have two stacks Stack_In and Stack_Out.
1. Then an element is being inserted in the queue we ...
The question means when a program is run the object, variables and class has to be loaded either on stack or heap.
« previous1 next »
