+ 1
expressions
Given the following declaration(s), what is the value of the following expressions? int x=3, y=4, z=5; z++<<x y%2==0?x:z x*y&15 x*y^y*z z==Math.sqrt(x*x+y*y)
2 Answers
+ 3
Surround each of them with print statement and see for yourself in the code playground and come back if you did not understand something.
+ 3
Yvette Wambi Nerima
Find the explanation as comments in the code shared below.
You must have a good understanding of bitwise operators and binary representation of a number to understand the answer.
https://code.sololearn.com/c9RBVcPKTJdD/?ref=app