New course! Every coder should learn Generative AI!
Try a free lesson0
why unassigned data types return some number & not 0?
1 Answer
+ 9
Because your computer do not initialize the memory to 0, it leaves it in the same state it was before running your program (which is often junk values)