Am I correct to assume that there is no need to intialize a hash element to 0 or 1, when my purpose is just to increment it?
I tried these two codes, and both of them seem to have produced the same result. Because of this I thought that if a hash element has no value and it is used on an arithmetic operation then its default value is zero. Am I correct?
code1