Binary system | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antworten
+ 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