Declare an integer | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Declare an integer

How to declare an integer in binary or hexadecimal?

25th Jun 2020, 5:57 AM
Huda Le
Huda Le - avatar
6 Answers
+ 4
Did you answer your own question, Le Huu Dai?
25th Jun 2020, 8:19 AM
HonFu
HonFu - avatar
+ 1
I googled 😹
25th Jun 2020, 9:40 AM
Huda Le
Huda Le - avatar
+ 1
Le Huu Dai you're supposed to google before posting question here
25th Jun 2020, 11:34 AM
Roneel
Roneel - avatar
0
Cpp bro :D
25th Jun 2020, 6:03 AM
Huda Le
Huda Le - avatar
0
int x=0b10; int x=0xF;
25th Jun 2020, 6:18 AM
Huda Le
Huda Le - avatar
0
Learn from experience.
25th Jun 2020, 11:41 AM
Huda Le
Huda Le - avatar