Skip to main content

Posts

Featured

How to Determine the Value Range of the Data Types in C

10 October 2020, 2:27pm – 14 October 2020 2:30pm  We, the mankind, use the base-10 numeral system which is called decimal number system. Decimal number system requires 10 different numerals – 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. So a decimal number is made up of these 10 digits like – 3422, 10987, 233292 etc. It is noticeable that when we write digits using commas like this – 3, 5, 6, 2, .. .. etc., they are called digits. 3 is a single digit, 5 is a single digit. But when we write them without commas like 356, this is called number, a decimal number. So 356 is a decimal number which is made up of three digits – 3, 5 and 6. But what about computers? Computers are nothing but machines. They can’t even imagine 10 different digits/states :P . They’re not intelligent like human beings. These poor machines can detect only two operating states or possible conditions – whether the switch is OFF or ON. ‘OFF’ is denoted by 0 and ‘ON’ by 1. That means in the computer it’s all 1s and 0s. Th

Latest Posts

Selection Sort Programming Code Explained