PGDCA, BCA, B-Tech, MCA, M-Tech, B.Sc computer science राजस्थान सूचना सहायक व कंप्यूटर शिक्षक विशेष नोट्स: इस अध्याय में हम Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations (व्यंजक नोटेशन्स: इनफिक्स, प्रीफिक्स (पोलिश) और पोस्टफिक्स) की संपूर्ण थ्योरी, मुख्य तकनीकी बिंदु, तुलनात्मक तालिका और विगत परीक्षाओं के पैटर्न पर आधारित 20 अति-महत्वपूर्ण बहुविकल्पीय प्रश्न (MCQs) विस्तृत हिंदी व अंग्रेजी व्याख्या सहित पढ़ेंगे।
Overview: Arithmetic expressions use Infix (operator between operands), Prefix/Polish (operator before operands), and Postfix/Reverse Polish (operator after operands) notations. While Infix needs precedence, associativity, and parentheses for disambiguation, Prefix and Postfix are parenthesis-free and match Preorder and Postorder expression-tree traversals.
अध्याय सार: अंकगणितीय व्यंजकों को तीन रूपों में लिखा जाता है: इनफिक्स (ऑपरेटर बीच में), प्रीफिक्स/पोलिश (ऑपरेटर पहले) और पोस्टफिक्स/RPN (ऑपरेटर बाद में)। इनफिक्स को स्पष्ट करने हेतु कोष्ठक व वरीयता नियम चाहिए, जबकि प्रीफिक्स व पोस्टफिक्स बिना कोष्ठक के बिल्कुल अस्पष्टता-रहित होते हैं।
Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations: Detailed Notes & Architecture (व्यंजक नोटेशन्स: इनफिक्स, प्रीफिक्स (पोलिश) और पोस्टफिक्स)
1. Three Expression Notations & Polish Naming Origin (तीन व्यंजक नोटेशन और पोलिश नामकरण)
[EN] For binary operator '+' on operands A and B: Infix writes 'A + B', Prefix (invented in 1924 by Polish logician Jan Lukasiewicz and called Polish Notation) writes '+ A B', and Postfix (Reverse Polish Notation / RPN) writes 'A B +'. Notice an invariant across all three forms: the relative left-to-right order of operands stays identical; only operators reposition.
[HI] ऑपरेंड A और B पर '+' के लिए: इनफिक्स 'A + B', प्रीफिक्स (पोलिश गणितज्ञ जन लुकासिविच द्वारा दिया गया Polish Notation) '+ A B', और पोस्टफिक्स (Reverse Polish Notation / RPN) 'A B +' लिखता है। तीनों रूपों में सभी ऑपरेंड्स का बाएं से दाएं सापेक्ष क्रम हमेशा समान रहता है; केवल ऑपरेटरों की स्थिति बदलती है।
2. Why Compilers & Calculators Prefer Prefix and Postfix (कंपाइलर और कैलकुलेटर द्वारा पोस्टफिक्स/प्रीफिक्स को प्राथमिकता)
[EN] Infix expressions are inherently ambiguous without parentheses and precedence rules—for instance, 2 + 3 * 4 evaluates to 14 rather than 20 only because '*' outranks '+'. Prefix and Postfix eliminate parentheses completely and encode one unique evaluation sequence, allowing CPUs, HP RPN calculators, PostScript, and JVM/Python bytecode VMs to evaluate expressions in a single O(n) stack pass.
[HI] इनफिक्स व्यंजक बिना प्राथमिकता नियम और कोष्ठकों के अस्पष्ट होते हैं (जैसे 2 + 3 * 4 में '*' पहले होगा या '+')। इसके विपरीत प्रीफिक्स और पोस्टफिक्स में कभी कोष्ठक नहीं लगते और गणना का क्रम स्वतः स्पष्ट होता है, जिससे कंपाइलर व स्टैक-आधारित वर्चुअल मशीनें एक ही पास में मूल्यांकन कर पाती हैं।
3. Operator Precedence, Associativity & ^ Edge Case (ऑपरेटर प्राथमिकता (Precedence) और सहचारिता (Associativity))
[EN] Standard arithmetic precedence from highest to lowest is: (1) Parentheses '()' overriding order, (2) Exponentiation '^' or '**', (3) Multiplication/Division/Modulo '*', '/', '%', and (4) Addition/Subtraction '+', '-'. Crucially, '+', '-', '*', '/', '%' are Left-to-Right associative (A - B - C = (A - B) - C), whereas Exponentiation '^' is Right-to-Left associative (A ^ B ^ C = A ^ (B ^ C)).
[HI] मानक प्राथमिकता क्रम (उच्च से निम्न): (1) कोष्ठक '()', (2) घातांक '^' या '**', (3) गुणा/भाग/मॉड्यूलो '*, /, %', और (4) जोड़/घटाव '+, -'। ध्यान रखें कि '+, -, *, /' बाएं-से-दाएं (Left-to-Right) सहचारी हैं, जबकि घातांक '^' दाएं-से-बाएं (Right-to-Left) सहचारी होता है।
4. Connection to Binary Expression Tree Traversals (बाइनरी एक्सप्रेशन ट्री ट्रैवर्सल से सीधा संबंध)
[EN] Representing an expression as a Binary Expression Tree (operands at leaves, operators at internal nodes) connects notations directly to tree traversals: Preorder (Root-Left-Right) yields Prefix, Inorder (Left-Root-Right, adding parentheses) yields Infix, and Postorder (Left-Right-Root) yields Postfix. For example, (A + B) * C - D / E becomes Prefix '- * + A B C / D E' and Postfix 'A B + C * D E / -'.
[HI] बाइनरी एक्सप्रेशन ट्री (जहाँ पत्तियाँ ऑपरेंड और आंतरिक नोड ऑपरेटर होते हैं) पर Preorder ट्रैवर्सल से प्रीफिक्स, Inorder से इनफिक्स, और Postorder ट्रैवर्सल से पोस्टफिक्स व्यंजक प्राप्त होता है। उदाहरणार्थ (A + B) * C - D / E का प्रीफिक्स '- * + A B C / D E' और पोस्टफिक्स 'A B + C * D E / -' बनता है।
Syntax, Formula & Technical Example (Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations)
/* Expression: (A + B) * C - D / E */
Infix : ( A + B ) * C - D / E /* Inorder (with brackets) */
Prefix : - * + A B C / D E /* Preorder (Polish) */
Postfix : A B + C * D E / - /* Postorder (RPN) */
/* Right-Associative ^ Example: A ^ B ^ C = A ^ (B ^ C) */
Postfix : A B C ^ ^ /* NOT A B ^ C ^ */
Prefix : ^ A ^ B C
Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations Quick Reference & Comparison Table
| Notation / Property | Operator Placement & Rules | Expression Tree Mapping |
|---|---|---|
| Infix Notation | Operator placed between operands; needs () & precedence | Inorder Traversal (Root between Left/Right) |
| Prefix (Polish) | Operator placed before operands; parenthesis-free | Preorder Traversal (Root -> Left -> Right) |
| Postfix (RPN) | Operator placed after operands; parenthesis-free | Postorder Traversal (Left -> Right -> Root) |
| Exponentiation (^) | Highest arithmetic rank; Right-to-Left associative | A ^ B ^ C groups strictly as A ^ (B ^ C) |
Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations Top 20 Bilingual MCQs with Answers
Q1. Who invented Polish (Prefix) Notation to write logical and arithmetic expressions without parentheses?
(बिना कोष्ठकों के व्यंजक लिखने हेतु पोलिश (प्रीफिक्स) नोटेशन का आविष्कार किसने किया था?)
(A) Jan Lukasiewicz
(B) Donald Knuth
(C) Alan Turing
(D) Edsger Dijkstra
Correct Answer: (A)
[EN] Polish logician Jan Lukasiewicz introduced Prefix notation in 1924, earning it the name Polish Notation.
[HI] पोलैंड के तर्कशास्त्री जन लुकासिविच (Jan Lukasiewicz) ने 1924 में प्रीफिक्स नोटेशन दिया था, इसलिए इसे पोलिश नोटेशन कहते हैं।
Q2. Which binary expression tree traversal generates the Postfix (Reverse Polish) representation?
(बाइनरी एक्सप्रेशन ट्री का कौन सा ट्रैवर्सल पोस्टफिक्स (RPN) व्यंजक उत्पन्न करता है?)
(A) Inorder (Left -> Root -> Right)
(B) Breadth-First Level Order
(C) Postorder (Left -> Right -> Root)
(D) Preorder (Root -> Left -> Right)
Correct Answer: (C)
[EN] Visiting Left subtree, Right subtree, then Root operator outputs <operand1> <operand2> <operator>—Postfix.
[HI] Postorder ट्रैवर्सल (पहले बायां, फिर दायां ऑपरेंड और अंत में रूट ऑपरेटर) सीधे पोस्टफिक्स रूप देता है।
Q3. Convert the Infix expression (A + B) * (C - D) into Postfix notation.
(इनफिक्स व्यंजक (A + B) * (C - D) का सही पोस्टफिक्स (Postfix) रूप क्या होगा?)
(A) A B C D + - *
(B) * + A B - C D
(C) A B + C D - *
(D) A B + * C D -
Correct Answer: (C)
[EN] (A + B) -> A B +, (C - D) -> C D -, then multiplying both groups yields A B + C D - *.
[HI] (A + B) से A B + और (C - D) से C D - बनता है; फिर '*' बाद में जुड़ने से A B + C D - * प्राप्त होता है।
Q4. Convert the Infix expression (A + B) * (C - D) into Prefix (Polish) notation.
(इनफिक्स व्यंजक (A + B) * (C - D) का सही प्रीफिक्स (Prefix) रूप क्या होगा?)
(A) + A B * - C D
(B) * A B + C D -
(C) * + A B - C D
(D) - * + A B C D
Correct Answer: (C)
[EN] The top-level operator '*' moves before both sub-expressions (+ A B and - C D), producing * + A B - C D.
[HI] मुख्य ऑपरेटर '*' सबसे आगे आकर दोनों उप-व्यंजकों (+ A B तथा - C D) से जुड़ता है, जिससे * + A B - C D बनता है।
Q5. Considering standard Right-to-Left associativity of exponentiation (^), what is the Postfix form of A + B * C ^ D ^ E?
(घातांक (^) की दाएं-से-बाएं (Right-to-Left) सहचारिता को ध्यान में रखते हुए A + B * C ^ D ^ E का सही पोस्टफिक्स क्या है?)
(A) A B + C * D ^ E ^
(B) A B C D E ^ ^ * +
(C) A B C D ^ E ^ * +
(D) A B C ^ D ^ E * +
Correct Answer: (B)
[EN] C ^ D ^ E = C ^ (D ^ E) -> C D E ^ ^; multiplied by B -> B C D E ^ ^ *; added to A -> A B C D E ^ ^ * +.
[HI] दाएं-से-बाएं नियम से D ^ E पहले हल होकर C D E ^ ^ बनता है, फिर * और + क्रमशः जुड़कर A B C D E ^ ^ * + देते हैं।
Q6. What is the Prefix form of the Infix expression A * B + C / D - E?
(इनफिक्स व्यंजक A * B + C / D - E का सही प्रीफिक्स (Prefix) रूप कौन सा है?)
(A) + * A B - / C D E
(B) * A B + / C D - E
(C) - + * A B / C D E
(D) - * + A B / C D E
Correct Answer: (C)
[EN] Grouping by precedence and left-associativity gives ((A * B) + (C / D)) - E -> - + * A B / C D E.
[HI] प्राथमिकता अनुसार ((A * B) + (C / D)) - E को प्रीफिक्स में बदलने पर - + * A B / C D E प्राप्त होता है।
Q7. Which arithmetic operator listed below is Right-to-Left associative rather than Left-to-Right associative?
(निम्नलिखित में से कौन सा अंकगणितीय ऑपरेटर बाएं-से-दाएं की बजाय दाएं-से-बाएं (Right-to-Left) सहचारी होता है?)
(A) Exponentiation (^)
(B) Subtraction (-)
(C) Modulo (%)
(D) Division (/)
Correct Answer: (A)
[EN] In mathematics and expression parsing, A ^ B ^ C means A ^ (B ^ C), whereas -, /, and % associate Left-to-Right.
[HI] गणित और कंपाइलर में घातांक (^) दाएं-से-बाएं जुड़ता है जैसे A^(B^C), जबकि -, / और % बाएं-से-दाएं हल होते हैं।
Q8. Why do Prefix and Postfix notations NEVER require parentheses?
(प्रीफिक्स और पोस्टफिक्स व्यंजकों में कोष्ठकों (Parentheses) की कभी आवश्यकता क्यों नहीं पड़ती?)
(A) They prohibit expressions with more than two operands
(B) Parentheses are silently replaced by spaces at runtime
(C) Operator position relative to operands uniquely fixes the exact grouping and evaluation order
(D) They force all operators to share equal precedence
Correct Answer: (C)
[EN] Each operator binds deterministically to its adjacent operands/sub-expressions, removing all structural ambiguity.
[HI] इनमें ऑपरेटरों की स्थिति से ही गणना का सटीक क्रम पूरी तरह तय हो जाता है, जिससे कोई अस्पष्टता नहीं बचती।
Q9. Across Infix, Prefix, and Postfix representations of the same expression, what stays completely unchanged?
(एक ही व्यंजक के इनफिक्स, प्रीफिक्स और पोस्टफिक्स तीनों रूपों में क्या चीज हमेशा बिल्कुल एक जैसी रहती है?)
(A) The first token of the string
(B) The position of every operator
(C) The total number of parentheses
(D) The relative left-to-right sequence of all operands
Correct Answer: (D)
[EN] Reordering an expression tree via Inorder, Preorder, and Postorder always visits leaf operands in the exact same left-to-right order.
[HI] तीनों नोटेशन्स में सभी ऑपरेंड्स (चर/संख्याएं) का बाएं से दाएं सापेक्ष क्रम कभी नहीं बदलता।
Q10. Which statement is ALWAYS true of any valid non-trivial Postfix expression containing binary operators?
(बाइनरी ऑपरेटरों वाले किसी भी वैध पोस्टफिक्स व्यंजक के बारे में निम्नलिखित में से कौन सा कथन हमेशा सत्य है?)
(A) Its first token must be an operator
(B) Its very last token must be an operand
(C) It always contains matching parentheses
(D) Its very last token must be an operator, and its first two tokens must be operands
Correct Answer: (D)
[EN] In Postfix, binary operations follow both operands, so the expression starts with at least two operands and ends with the final root operator.
[HI] पोस्टफिक्स में ऑपरेटर हमेशा दोनों ऑपरेंड के बाद आता है, इसलिए व्यंजक की शुरुआत कम से कम दो ऑपरेंड से और अंत हमेशा ऑपरेटर से होता है।
Q11. How does the Infix expression A ^ B ^ C convert to Postfix?
(इनफिक्स व्यंजक A ^ B ^ C का सही पोस्टफिक्स रूप क्या है?)
(A) A B ^ C ^
(B) A B C ^ ^
(C) A ^ B C ^
(D) ^ A ^ B C
Correct Answer: (B)
[EN] Because ^ is right-associative, A ^ B ^ C = A ^ (B ^ C) -> A (B C ^) ^ -> A B C ^ ^.
[HI] घातांक (^) के दाएं-से-बाएं सहचारी होने से पहले B ^ C हल होगा, जिससे उत्तर A B C ^ ^ आता है।
Q12. Convert the Postfix expression 'A B + C * D E / -' back into an equivalent parenthesized Infix expression.
(पोस्टफिक्स व्यंजक 'A B + C * D E / -' के समतुल्य सही इनफिक्स व्यंजक कौन सा है?)
(A) (A + B) * (C - D) / E
(B) (A + B) * C - D / E
(C) A + (B * C - D) / E
(D) A + B * C - D / E
Correct Answer: (B)
[EN] A B + gives (A+B); multiplying by C gives (A+B)*C; D E / gives D/E; final '-' subtracts D/E.
[HI] A B + से (A+B), फिर * C से (A+B)*C और D E / से D/E बनता है; अंत में '-' लगने से (A + B) * C - D / E प्राप्त होता है।
Q13. What is the total number of operators in a valid binary arithmetic Postfix expression that contains 7 operands?
(यदि किसी वैध बाइनरी अंकगणितीय पोस्टफिक्स व्यंजक में 7 ऑपरेंड हैं, तो उसमें कुल कितने बाइनरी ऑपरेटर होंगे?)
(A) 6 operators
(B) 7 operators
(C) 5 operators
(D) 8 operators
Correct Answer: (A)
[EN] Every binary operator combines two values into one (reducing count by 1); reducing 7 operands to 1 final result requires exactly 7 - 1 = 6 operators.
[HI] प्रत्येक बाइनरी ऑपरेटर दो मानों को जोड़कर एक परिणाम देता है, इसलिए 7 ऑपरेंड को 1 अंतिम मान में बदलने हेतु ठीक 6 ऑपरेटर लगेंगे।
Q14. Which computing environments historically execute instructions using Reverse Polish Notation (Postfix) stack semantics?
(निम्नलिखित में से कौन सी तकनीकें आंतरिक रूप से रिवर्स पोलिश नोटेशन (स्टैक-आधारित पोस्टफिक्स) शैली का उपयोग करती हैं?)
(A) Pure DNS UDP packets
(B) Ethernet MAC framing hardware
(C) Only relational SQL tables
(D) Java Virtual Machine (JVM) bytecode, PostScript, and Forth
Correct Answer: (D)
[EN] Stack-based virtual machines (JVM, WebAssembly, Forth, PostScript, CPython bytecode) push operands and apply postfix-ordered opcodes.
[HI] JVM बाइटकोड, PostScript, Forth और CPython जैसी स्टैक-आधारित वर्चुअल मशीनें पोस्टफिक्स क्रम में ऑपरेंड और ऑपकोड चलाती हैं।
Q15. In a valid Prefix expression containing at least one binary operator, what MUST the very first token be?
(कम से कम एक बाइनरी ऑपरेटर वाले किसी वैध प्रीफिक्स व्यंजक का सबसे पहला टोकन क्या होना अनिवार्य है?)
(A) A closing parenthesis
(B) An operator (specifically the root operator)
(C) Either a number or variable
(D) An operand
Correct Answer: (B)
[EN] Prefix places the root operator before both its left and right subtrees, so token 1 is always the final outer operator.
[HI] प्रीफिक्स में मुख्य (Root) ऑपरेटर दोनों उप-व्यंजकों से पहले लिखा जाता है, अतः पहला टोकन हमेशा एक ऑपरेटर होता है।
Q16. Which statement is NOT true about Infix, Prefix, and Postfix notations?
(इनफिक्स, प्रीफिक्स और पोस्टफिक्स नोटेशन्स के बारे में कौन सा कथन असत्य (NOT true) है?)
(A) Converting from Infix to Postfix reverses the left-to-right order of operands
(B) Prefix notation is also called Polish Notation
(C) Preorder traversal of an expression tree yields Prefix notation
(D) Postfix expressions can be evaluated in O(n) using a single stack without precedence rules
Correct Answer: (A)
[EN] Operands ALWAYS keep their original left-to-right relative order across Infix, Prefix, and Postfix conversions.
[HI] इनफिक्स से पोस्टफिक्स या प्रीफिक्स में बदलने पर ऑपरेंड्स का क्रम कभी उल्टा नहीं होता; केवल ऑपरेटरों की स्थिति बदलती है।
Q17. Within Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations, which notation / property directly maps to: "Operator placed between operands; needs () & precedence"?
(Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations में कौन सा Notation / Property सीधे "Operator placed between operands; needs () & precedence" से संबंधित है?)
(A) Exponentiation (^)
(B) Infix Notation
(C) Prefix (Polish)
(D) Postfix (RPN)
Correct Answer: (B)
[EN] In Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations, 'Infix Notation' handles 'Operator placed between operands; needs () & precedence' (Inorder Traversal (Root between Left/Right)).
[HI] Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations में 'Infix Notation' का कार्य/विवरण 'Operator placed between operands; needs () & precedence' (Inorder Traversal (Root between Left/Right)) है।
Q18. Which option accurately describes 'Prefix (Polish)' in Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations?
(Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations के संदर्भ में 'Prefix (Polish)' की सही विशेषता कौन सी है?)
(A) Highest arithmetic rank; Right-to-Left associative
(B) Operator placed between operands; needs () & precedence
(C) Operator placed after operands; parenthesis-free
(D) Operator placed before operands; parenthesis-free
Correct Answer: (D)
[EN] 'Prefix (Polish)' provides 'Operator placed before operands; parenthesis-free' — key point: Preorder Traversal (Root -> Left -> Right).
[HI] 'Prefix (Polish)' का मुख्य विवरण 'Operator placed before operands; parenthesis-free' है (Preorder Traversal (Root -> Left -> Right))।
Q19. In Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations, identify the correct parameter for the specification: "Operator placed after operands; parenthesis-free".
(Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations में "Operator placed after operands; parenthesis-free" विवरण किस विकल्प के लिए सही है?)
(A) Postfix (RPN)
(B) Exponentiation (^)
(C) Prefix (Polish)
(D) Infix Notation
Correct Answer: (A)
[EN] 'Postfix (RPN)' corresponds to 'Operator placed after operands; parenthesis-free' (Postorder Traversal (Left -> Right -> Root)).
[HI] 'Postfix (RPN)' का संबंध 'Operator placed after operands; parenthesis-free' (Postorder Traversal (Left -> Right -> Root)) से है।
Q20. Considering Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations, what key behavior defines 'Exponentiation (^)'?
(Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations में 'Exponentiation (^)' की मुख्य भूमिका या मान क्या है?)
(A) Highest arithmetic rank; Right-to-Left associative
(B) Operator placed before operands; parenthesis-free
(C) Operator placed between operands; needs () & precedence
(D) Operator placed after operands; parenthesis-free
Correct Answer: (A)
[EN] 'Exponentiation (^)' represents 'Highest arithmetic rank; Right-to-Left associative' (A ^ B ^ C groups strictly as A ^ (B ^ C)).
[HI] 'Exponentiation (^)' का अर्थ/मान 'Highest arithmetic rank; Right-to-Left associative' है (A ^ B ^ C groups strictly as A ^ (B ^ C))।
Infix, Prefix (Polish) and Postfix (Reverse Polish) Notations — Exam FAQs
Q1: Why is Reverse Polish Notation easier for computers than Infix?
कंप्यूटर के लिए इनफिक्स की तुलना में रिवर्स पोलिश नोटेशन (Postfix) अधिक सरल क्यों है?
[EN] Because RPN never contains parentheses and encodes precedence directly in token order, a machine only needs one left-to-right scan with an operand stack instead of backtracking or operator precedence tables.
[HI] क्योंकि पोस्टफिक्स में न कोष्ठक होते हैं और न प्राथमिकता नियम जांचने की जरूरत; कंप्यूटर एक ही बार बाएं से दाएं पढ़कर स्टैक से सीधे गणना कर लेता है।
Q2: Does every valid Infix expression have a unique Postfix and Prefix representation?
क्या प्रत्येक वैध इनफिक्स व्यंजक का एक अद्वितीय पोस्टफिक्स और प्रीफिक्स रूप होता है?
[EN] Once operator precedence and associativity rules disambiguate the Infix expression into a unique Expression Tree, its Postfix (Postorder) and Prefix (Preorder) strings are strictly unique.
[HI] हाँ, प्राथमिकता और सहचारिता के नियम तय होने पर व्यंजक का एक्सप्रेशन ट्री अद्वितीय बनता है, जिससे उसका प्रीफिक्स व पोस्टफिक्स रूप भी अद्वितीय होता है।
Q3: In A / B * C, why is the Postfix 'A B / C *' and NOT 'A B C * /'?
A / B * C का पोस्टफिक्स 'A B / C *' क्यों होता है, 'A B C * /' क्यों नहीं?
[EN] Because '/' and '*' share equal precedence and are Left-to-Right associative, so A / B executes first before multiplying by C.
[HI] क्योंकि '/' और '*' की प्राथमिकता बराबर है और दोनों बाएं-से-दाएं सहचारी हैं, इसलिए पहले A / B हल होता है और फिर '* C' जुड़ता है।
Post a Comment
Post a Comment