Over a million developers have joined DZone.

Clear Array In C

·
// Pure C code


#define LEN 40000
int a[LEN]

memset((void*)&a, 0, sizeof(int)*LEN);
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}