How a hexadecimal array in c/c++ works. Example | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

How a hexadecimal array in c/c++ works. Example

const int LETTERS[] = { 0x0118FE2E, 0x00F8BE2F, 0x00E8862E, 0x00F8C62F, 0x01F0BC3F, 0x0010BC3F, 0x00E8E42E, 0x0118FE31, 0x01F2109F, 0x0064A11E, 0x01149D31, 0x01F08421, 0x0118D771, 0x011CD671, 0x00E8C62E, 0x0010BE2F, 0x01ECC62E, 0x0118BE2F, 0x00F8383E, 0x0042109F, 0x00E8C631, 0x00454631, 0x011DD631, 0x01151151, 0x00421151, 0x01F1111F, 0x00000000 };

2nd Feb 2018, 5:14 AM
Faiz Elahi
Faiz Elahi - avatar
2 Answers
+ 6
Each hex code represents a character based on the encoding type. Very popular encoding ASCII uses only one byte. that is from 0x00 to 0xFF. But these characters may be more advanced encoding types like UTF 8 which is designed to represent all languages in the world.
2nd Feb 2018, 7:21 PM
Ravi Chandra Enaganti
Ravi Chandra Enaganti - avatar
+ 8
thank you ravi sir its really helpful
3rd Feb 2018, 3:32 AM
Faiz Elahi
Faiz Elahi - avatar