x

Choose Country Code

x

Direction

x

Ask a Question

  • Ask a Question
  • Scan a Question
  • Post MCQ
  • Note: File extension must be of jpg, jpeg, png, bmp format and file size must not exceed 5 MB
x

Ask a Question

x

x
x
x
Hire a Tutor

Answers and Solutions

What's Your Question?
Answer
Stack Stack is used to convert infix to postfix Infix to prefix Prefix to postfix.
Answer

A stack is needed to convert infix notation to postfix notation. A stack is a container of objects that are inserted and removed according to LIFO (last in first out) principle. Two operations are used push and pop.

Push:-  Add an element to the collection

Pop:- removes the most recently added element that was not yet removed.

 

Answer

An expression can be represented in prefix, postfix or infix notation. Stack can be used to convert one form of expression to another.

Correct option: D

Post Answer and Earn Credit Points

Get 5 credit points for each correct answer. The best one gets 25 in all.

Post Answer