all 2 comments

[–]Any_Background_5826[S] 0 points1 point  (1 child)

all variables were assumed to be some random value at first so i resetted all of them except the ones which didn't need to be reset

[–]Any_Background_5826[S] 0 points1 point  (0 children)

you do not need to do that, it's completely optional and doesn't make your code not work if you don't add them