126 views

My doubt :

What should we consider ^ operator as Bitwise XOR  ? or Exponentiation

in DS
recategorized | 126 views
0
power
0
Yes in C programming Language "^" is considered as an EX-OR operator.
0
Bitwise xor is also represented by same symbol right ??
0
but its just simple expression no need of c lang. here
0

Why here it is different ??

0
nothing different it is  2^4$^2$ which is this

precendence in quetion in note see that i think u r confusing there
0
I am confused about different symbols used for exponen.. not precedence

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
by Active (2k points)

1
+1 vote
2
+1 vote