DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
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)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#reset
#array
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit