What if the unsigned variable entered by user is negative what happens to the program then? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What if the unsigned variable entered by user is negative what happens to the program then?

29th Jul 2016, 6:59 PM
Med Sami Kamal
Med Sami Kamal - avatar
1 Antwort
0
it will cease to work as its not been programmed to handle it, same as entering a string where an int should be.
3rd Aug 2016, 1:55 PM
Null Void
Null Void - avatar