हिंदी

How many traversal from left to right is enough to evaluate the prefix/postfix expression?

Advertisements
Advertisements

प्रश्न

How many traversal from left to right is enough to evaluate the prefix/postfix expression?

विकल्प

  • Single

  • Double

  • None

  • Three

MCQ
Advertisements

उत्तर

Single

Explanation:

Because the operators are correctly positioned according to their order of precedence, only one traversal is necessary to evaluate a prefix or postfix expression.

shaalaa.com
Evaluation of Postfix Expression
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×