It's used like this:
Code:
memset (void *dest, int c, size_t count)
where dest is your array
c is the character that you want it to change to
count is the number of characters you want to change
example
char arr[50];
memset (arr, '\0', sizeof(arr));
will set all elements in the array to the '\0' character
char arr[50];
memset (arr, '_', sizeof(arr));
will set all elements in arr to the '_' character
"Maybe, just once, someone will call me "sir" without adding, 'you're making a scene.'"
-Homer J Simpson