Answers for "reset array to 0 c"

C
0

reset c array to zero

#define ZERO(a,n) do{
	size_t i_ = 0, n_ = (n);
	while (i_ < n_){
		(a)[i_] = 0;
		++i_;
	}
} while (0)
Posted by: Guest on March-17-2020

Code answers related to "C"

Browse Popular Code Answers by Language