What if the unsigned variable entered by user is negative what happens to the program then? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 Answer
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