+1 vote
in Data Structures & Algorithms I by (110k points)
edited by
Out of the following operators (|, *, +, &), the one having lowest priority is ________

(a) +

(b) *

(c) |

(d) &

I would like to ask this question from Application of Stacks in chapter Application of Stacks of Data Structures & Algorithms I

The question was posed to me in an interview for an internship.

1 Answer

+1 vote
by (408k points)
selected by
Best answer
Correct option is (c) |

The explanation is: According to the algorithm (infix-prefix), it follows that the logical OR will have the lowest priority.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.