Comment on Every base is base 10
s_s@lemmy.one 5 months ago
Looks like 0100 rocks to me
That’s not 64 rocks
00 = 0 01 = 1 10 = 2 11 = 3 100 = 4 …
In C any number that starts with 0 is implicitly interpreted as an octal
PanArab@lemm.ee 5 months ago
That’s not 64 rocks
Dusktracer@lemmy.world 5 months ago
00 = 0 01 = 1 10 = 2 11 = 3 100 = 4 …
PanArab@lemm.ee 5 months ago
In C any number that starts with 0 is implicitly interpreted as an octal