0

Binary system

Why ~9 = -10? Please explain https://code.sololearn.com/ck2mJh7zHj4a/?ref=app

17th Jul 2021, 6:12 AM
Osbourne
Osbourne - avatar
2 ответов
+ 1
https://www.sololearn.com/learn/4076/?ref=app
17th Jul 2021, 6:17 AM
Simba
Simba - avatar
0
If you declare c as unsigned char, and print it casted to int, 246 will be outputted.
17th Jul 2021, 6:29 AM
你知道規則,我也是
你知道規則,我也是 - avatar