0

When we don't assign any value to 'a' , still it give the same result, why?

15th May 2019, 9:33 AM
Rahul Sharma
Rahul Sharma - avatar
2 Answers
+ 5
Can you share us your code. We don‘t know what language you are talking about. Some more information would be very helpful.
15th May 2019, 9:40 AM
Lothar
Lothar - avatar
0
Actually I am a beginner and currently using cpp. While learning for loop I didn't assign any value to a variable 'a' , but it randomly adopted the value '0'. So, this is my doubt. And this is the best way I can explain my doubt. 😂
15th May 2019, 10:06 AM
Rahul Sharma
Rahul Sharma - avatar