Why does unsigned int get negative value? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuestas
+ 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