0

What happens if you input a negative number to an unsigned integer?

28th Oct 2015, 10:26 PM
Jakob Quisenberry
3 Respuestas
+ 3
absolute value unsigned int x = -10; cout << x; output: 10
19th Feb 2016, 10:55 PM
Jonathan Iannacone
+ 1
it makes his absolute value
29th Mar 2016, 10:25 AM
Gonzalo Ventura
Gonzalo Ventura - avatar
0
it will still give result in positive sign..
15th Jun 2016, 1:49 AM
Mahrukh Ahmed
Mahrukh Ahmed - avatar