CBSE Computer Science - Revision Tour(Solved) CBSE Guess > eBooks > Class XII > CBSE Computer Science Link Lists, Stacks And Queues Solved Revision Tour By Mr. Ravi Kiran COMPUTER SCIENCE LINKED LISTS , STACKS AND QUEUES 3 (e) Give the necessary declaration of a
linked list implemented queue containing
float type elements. Also write a user defined
function in C++ to delete a float type number from the queue.
Solution:
1998: 3 (d) Evaluate the following postfix expression using a stack and show the contents of stack after execution of each
operation: 50, 40, +, 18, 14, -, 4, *, + Ans) Children, Try this answer as an
assignment. 3 (e) Give the necessary declaration of a
linked implemented stack containing integer type numbers; also write a user defined function in C++ to pop a number from this stack. Solution:
CBSE Computer Science Solved Revision Tour By Mr. Ravi Kiran ( [email protected] ) |
|