realitista@lemmy.world to Science Memes@mander.xyzEnglish · 7 months agoEvery base is base 10lemmy.worldimagemessage-square177fedilinkarrow-up11.2Karrow-down130
arrow-up11.17Karrow-down1imageEvery base is base 10lemmy.worldrealitista@lemmy.world to Science Memes@mander.xyzEnglish · 7 months agomessage-square177fedilink
minus-squareDusktracer@lemmy.worldlinkfedilinkEnglisharrow-up3·7 months ago00 = 0 01 = 1 10 = 2 11 = 3 100 = 4 …
minus-squareمهما طال الليل@lemm.eelinkfedilinkEnglisharrow-up3·edit-27 months agoIn C any number that starts with 0 is implicitly interpreted as an octal int i = 0100; // this is octal 100 i.e. 64
00 = 0 01 = 1 10 = 2 11 = 3 100 = 4 …
In C any number that starts with 0 is implicitly interpreted as an octal
int i = 0100; // this is octal 100 i.e. 64