What will be the output | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
0

What will be the output

what will be the out put of the give code (-1>>>4) and logicg behind the output

28th Jan 2017, 1:49 AM
Ravi anshuman
Ravi anshuman - avatar
3 Respostas
+ 3
Output: 268435455 Check out my code for a better explanation: https://code.sololearn.com/c30XnuaReYEs/?ref=app Note: >>> exists in C and Java but NOT in C++, so that tag shouldn't be there.
28th Jan 2017, 4:58 AM
Jafca
Jafca - avatar
+ 2
Can you tell me what >>> is?
28th Jan 2017, 2:08 AM
Jafca
Jafca - avatar
0
"shift right with zero fill" bitwise operator
28th Jan 2017, 4:15 AM
Ravi anshuman
Ravi anshuman - avatar