Understanding Number Systems in C Language
Before learning about data types, let’s first understand the number systems. 1. Decimal (十进制) The number system we use daily, with a base of 10, using digits 0-9. 123 = 1×10² + 2×10¹ + 3×10⁰ 2. Binary (二进制) With a base of 2, using digits 0 and 1. 1101₂ = 1×2³ + 1×2² + 0×2¹ … Read more