An error is thrown if the character ‘\n’ is pushed in to the character stack.
(a) true
(b) false
My question comes from Application of Stacks topic in portion Application of Stacks of Data Structures & Algorithms I
I had been asked this question in a job interview.