it’s the system computers use for storing numbers and that they can perform any operation upon them.
binary system
that is, those which are devoid of the fractional part;
integers
numbers that contain the fractional part
double/float
the characteristic of a number that determines its kind, range, and application is called a…
Type
If an integer number is preceded by the 0 digit, it will be treated as an
octal value
his type of number should be preceded by a prefix written as 0x or 0X.
hexadecimal numbers
To calculate for octal value
8^0 right to left
multiply number
then add
ex. 0123
0×8^3
1×8^2
2×8^1
3×8^0
0+64+16+3 = 83 decimals
To calculate for haxadecimal
just like in octal but exclude the 0 and instead of 8 make it 16
ex.0x123 = 291 decimals
print an integer use.
%d
print a float use..
%f
What are variables in programming?
Variables are special “containers” used to store data that can be varied or changed
is a syntactic structure that binds a name, provided by the programmer, to a specific type offered by the “C” language.
Declaration