memset - Fill memory with a constant byte
void memset(void *dst, uint8 val, int16 size);
The memset() function fills the first size bytes of the memory area pointed to by dst with the constant byte val.
No value is returned.
uint8 arr[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }; init { memset(&arr, 0, sizeof(arr)); // All arr[] elements are now 0 }