At the time of declaration i can initialize every elements of an array to ‘0’ in C using calloc() or statements like :
but I want to reset all the elements to ‘0’ after every iteration of a loop.
Can it be done without declaring the array again? (In the example statement above I am declaring the array too)
I am just looking for the fastest possible way of initializing all the elements of an array to zero.