Learning C: Why (38 == '&' && 046 == 0x26 ) is truecvursache.com 3 pointscvursache13 years ago2 commentsSaveHideCopy link On HNComments−raimue13yThis works the same way in almost any language. Numbers can be represented as decimal, octal, hexadecimal, binary, ... It's not anything special to C.−cvursacheOP13yThanks for pointing that out (: The blogpost explains how in learning C after years with PHP, MySQL, JavaScript and Objective-C one discovers little things about CS that weren't visible before while working on a higher abstraction level.
Comments
This works the same way in almost any language. Numbers can be represented as decimal, octal, hexadecimal, binary, ... It's not anything special to C.
Thanks for pointing that out (: The blogpost explains how in learning C after years with PHP, MySQL, JavaScript and Objective-C one discovers little things about CS that weren't visible before while working on a higher abstraction level.