in Compiler Design recategorized by
327 views
0 votes
0 votes
Data is never actually deleted from computer, even after freeing (say, a dynamically allocated variable) the variable still has that value which was given to it, we just can not access that memory, until that memory is allocated again somewhere else and there it gets overwritten by some other data. If we consider this, then why can’t we just initialize every memory of the system with a 0 at some point of time (say, creation) to totally avoid the hassle of garbage values?
in Compiler Design recategorized by
327 views

1 comment

0
0

Please log in or register to answer this question.