void *memset(void *dest, int c, size_t count)
The third argument is the number of characters or bytes in the array. How would you take an array of boolean elements, say bool bArray [11]?
MSDN says: "Security note - make sure that the target buffer has enough space to at least match characters."
source
share