Why does unsigned int get negative value? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Why does unsigned int get negative value?

https://code.sololearn.com/ctzn604CETJo/?ref=app

24th Oct 2021, 11:11 AM
Adam Aksu
Adam Aksu - avatar
2 Respostas
+ 1
probably because you didnt use the unsigned int format specifier https://code.sololearn.com/ci2xEmV8yoO7/?ref=app
24th Oct 2021, 11:15 AM
Slick
Slick - avatar
+ 1
Thanks Slick !
24th Oct 2021, 11:19 AM
Adam Aksu
Adam Aksu - avatar