When there are two required input numbers and if only one number is input,why does the output come out as 2686816 ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

When there are two required input numbers and if only one number is input,why does the output come out as 2686816 ?

27th Jun 2017, 3:46 PM
Aiswarya Padma B
Aiswarya Padma B - avatar
2 Answers
+ 7
This is because the other variable is uninitialised and stores garbage values.
27th Jun 2017, 6:09 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
What code are you asking about?
27th Jun 2017, 5:48 PM
Igor B
Igor B - avatar