+ 13

A=5|5

What is the output of this quation?

17th Apr 2019, 1:48 PM
H.G.N.D Sumanasinghe
H.G.N.D Sumanasinghe - avatar
4 Answers
+ 10
"|" is the bitwise or, it treats numbers as binary 5 = 101 101 | 101 = 101
17th Apr 2019, 4:23 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 9
Valen.H Thanks
18th Apr 2019, 1:58 AM
H.G.N.D Sumanasinghe
H.G.N.D Sumanasinghe - avatar
+ 8
5
17th Apr 2019, 3:34 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 7
Why is it come 5?what the reason?
17th Apr 2019, 3:36 PM
H.G.N.D Sumanasinghe
H.G.N.D Sumanasinghe - avatar