Syntax:
memset(void *, char, size_t)Sourc.www:elautturi.com
/*
memset function with examples in c language
*/
#include <string.h>
int main(void) {
char buff[1024];
/*
The first 1024 bytes of initialization buff with \0
*/
memset(buff, '\0', 1024);
return 0;
}