Samy·Aug 9, 2025The Day I Learned 08 Is Not Eight in RubyIt all started innocently enough, i was in Pry, trying to create a date:
No name Kuch nhi·Feb 20, 2025You know what ??If a compiler gives an output of `9` for the input `011`, it’s likely interpreting `011` as an octal (base 8) number rather than a decimal…
MAYUR TINGARE·Sep 25, 2024“Cracking the Code: Understanding Octal Conversion in Tech Interviews”Thus, the most frequent question in tech interviews these days is this one:
Harshitha·Jul 26, 2024Understanding Octal Numbers in JavaThe octal number system is a base-8 system, meaning it uses digits from 0 to 7. Digits 8 and 9 are not valid in octal representation. In…
Manojit Das·Jul 3, 2024Why is 0647 Represented as 423 in C++?If you’ve ever encountered the number 0647 in a C++ program and wondered why it translates to 423 in decimal, you're not alone. This…
Abhishek Mishra·Jul 28, 2023Why when a number/integer started with 0,if we print that integer gives a different output ?When you do programming in C++ Language, you generally have faced the issue that when you initialize any number by 0 Like 0345 is changed…
Syeda Tasneem·Mar 21, 2023Number System conversionsBefore we move on to the topic of conversion, let's understand a little bit about number systems and their types.
Louis Parkin·Dec 14, 2022Number Systems Part 3— OctalThis is part three in a series of three articles aimed at discussing the various number systems used in computer science, apart from the…