Code Snippets C

//Declaration: void *memset(void *buf, int ch, size_t count);
//Return: returns buf.
#include
#include
int main(void){
char buf[100];
memset(buf, '\0', 100);
memset(buf, 'j', 10);
printf(buf);
}
/*
jjjjjjjjjj
*/