// archives

Variable and Data Types

This category contains 14 posts

Signed and unsigned

Such a number that increments from 0, 1, 2, and up

Is qualified as positive

There are numbers counted in decrement values

(B-1) Such numbers start at -1 and move down to -2, -3, -4 etc
(B-1) These numbers are qualified as negative

If you want to express the number as negative

Use the “–“ on the left side of the [...]

The Hexadecimal System

The hexadecimal system uses sixteen (16) symbols to represent a number

Since the Latin language consists of only 10 digits, we cannot make up new ones
The hexadecimal system uses alphabetic characters
After counting from 0 to 9, the system uses letters until it gets 16 different values
(B-1) The hexadecimal system counts as follows:

Example of (B-1)

0, 1, 2, [...]

The Decimal System

The numeric system that we have always used uses a set of ten symbols that are

0, 1, 2, 3, 4, 5, 6, 7, 8, and 9

Each of these symbols is called a digit

Using a combination of these digits, you can display numeric values of any kind, such as 240, 3826 or 234523

This system of representing [...]

Variables and Their Data Types

The amount of memory space necessary to store a variable is

Also referred to as a data type

A data type provides two valuable pieces of information to the compiler

What amount of space the variable will use
What kind of information will be allowed in that space

After declaring a variable

The compiler reserves a space in memory for that [...]