what if we ask the user to add two values but instead the user adds only one number then what will the compiler show as second number in the output?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what if we ask the user to add two values but instead the user adds only one number then what will the compiler show as second number in the output??

9th Jul 2016, 6:22 PM
Amol Jain
Amol Jain - avatar
3 Answers
0
it would be a garbage value or can be the number only
10th Jul 2016, 1:48 AM
prajjwal singh
prajjwal singh - avatar
0
unless you enter two values , compiler will not execute next line .
10th Jul 2016, 2:36 AM
Nikhil Shinde
Nikhil Shinde - avatar
0
Well only a dumb guy wont enter a second value and the program wont execute if it isn't provided with a second value
10th Jul 2016, 4:24 AM
Vex G Scarlet
Vex G Scarlet - avatar