How we can increment char array [ ] containing hexadecimal values ? Or how can we increment the hex value ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 1

How we can increment char array [ ] containing hexadecimal values ? Or how can we increment the hex value ?

I wanted to know how to convert decimal values into hex value and how we can store that hex value and latter increment or decrement ?

11th Oct 2022, 12:20 PM
Aadesh Walhe
Aadesh Walhe - avatar
1 Resposta
+ 2
char array is string in C language, there's no way to increment/decrement a C-string. Perhaps you can provide an illustration of your idea, so people can understand it easier and better
11th Oct 2022, 2:01 PM
Ipang