0
Binary system
Why ~9 = -10? Please explain https://code.sololearn.com/ck2mJh7zHj4a/?ref=app
2 Answers
+ 1
https://www.sololearn.com/learn/4076/?ref=app
0
If you declare c as unsigned char, and print it casted to int, 246 will be outputted.
Why ~9 = -10? Please explain https://code.sololearn.com/ck2mJh7zHj4a/?ref=app