Consider the following pseudo code declare a stack of characters-03378
Consider the following pseudo code<br>declare a stack of characters<br>while ( there are more characters in the word to read )<br>{<br>read a character<br>push the character on the stack<br>}<br>while ( the stack is not empty )<br>{<br>pop a character off the stack<br>write the character to the screen<br>}<br>What is written to the screen for the input "apples"?
This multiple choice question (MCQ) is related to the book/course vu cs301 Data Structures. It can also be found in vu cs301 Final Term - Quiz No.8.