Examveda

What is the result of ~(7 ^ 2) ?

A. -5

B. 5

C. -3

D. 3

Answer: Option C

Solution (By Examveda Team)

The ~ and ^ operators are evaluated from left to right.

This Question Belongs to Python Program >> Bitwise And Boolean

Join The Discussion

Related Questions on Bitwise and Boolean