How does C++ do bitwise “or” operations on negative numbers?

前端 未结 6 1812
野的像风
野的像风 2021-01-12 16:18

When I give to a variable such value: e = 17|-15; , I get -15 as an answer after compiling.I can\'t understand what arithmetic c++ uses. How does it perform a

6条回答
提交回复
热议问题