2 votes 2 votes My doubt : What should we consider ^ operator as Bitwise XOR ? or Exponentiation DS made-easy-test-series data-structures stack infix-prefix + – jatin khachane 1 asked Dec 1, 2018 • recategorized Mar 4, 2019 by akash.dinkar12 jatin khachane 1 1.3k views answer comment Share Follow See all 14 Comments See all 14 14 Comments reply Show 11 previous comments jatin khachane 1 commented Dec 2, 2018 reply Follow Share I am confused about different symbols used for exponen.. not precedence 0 votes 0 votes Himanshu Kumar Gupta commented Aug 22, 2020 reply Follow Share duplicate https://gateoverflow.in/273171/madeeasy-test-series-programming-%26-ds-stack 0 votes 0 votes manisha11 commented Aug 29, 2020 reply Follow Share Duplicate : https://gateoverflow.in/235916/postfix-expression#c344069 0 votes 0 votes Please log in or register to add a comment.
3 votes 3 votes |6|2|3| + |6|5| - (2+3=5) |1| (6-5=1) |1|3|8|2| / |1|3|4|+ (8/2=4) |1|7|* (3+4=7) |7| (1*7=7) |7|3|^ (7^3 = 343) |343|3|+ |346| Therefore A=346 Y= 2*346+16 = 708 answer should be 26.60 manisha11 answered Aug 22, 2018 manisha11 comment Share Follow See all 3 Comments See all 3 3 Comments reply MiNiPanda commented Aug 22, 2018 reply Follow Share Yes it is 26.60..but answer key is 16 :/ 0 votes 0 votes Lakshman Bhaiya commented Oct 20, 2018 reply Follow Share the answer is $26.60$ and $16$ is wrong i think. 0 votes 0 votes Gate Fever commented Nov 11, 2018 reply Follow Share correct answer is 26.6; 16 is wrong for sure; 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes in C and most of the programming languages ^ is bitwise xor. For exponentiation you can use ** in python3, math.pow in C. But in this question ^ is to be interpreted as a maathematical operator rather than programming construct pratekag answered May 6, 2019 pratekag comment Share Follow See all 0 reply Please log in or register to add a comment.