Which of the following is not the application of stack?
Options
- A. A parenthesis balancing program
- B. Tracking of local variables at run time
- C. Data Transfer between two asynchronous process
- D. Compiler Syntax Analyzer
C. Data Transfer between two asynchronous process
Applications of Stack include:
✔ Parenthesis balancing program → Uses stack to check matching brackets
✔ Tracking of local variables at runtime → Call stack
✔ Compiler Syntax Analyzer → Parsing expressions
But:
❌ Data transfer between two asynchronous processes → This is typically done using Queue, not Stack.
Attempt Quiz Now:
BPSC Tre 4.0 DSA Practice Set