Hexadecimal Digits and their Values in Decimal and Binary - C++ Data Type
C++ examples for Data Type:Binary
HOME
C++
Data Type
Binary
Introduction
Hexadecimal
Decimal
Binary
0
0
0000
1
1
0001
2
2
0010
3
3
0011
4
4
0100
5
5
0101
6
6
0110
7
7
0111
8
8
1000
9
9
1001
A or a
10
1010
B or b
11
1011
C or c
12
1100
D or d
13
1101
E or e
14
1110
F or f
15
1111
Previous
Next
Related Tutorials
Printing the Decimal Equivalent of a Binary Number.
Prints a table of the binary, octal and hexadecimal equivalents of the decimal numbers in the range 1-256.
Outputting the binary code for a letter.
Binary Literals
To turn debugging code on and off dynamically, create bool flags: