Remarks:
The memset function sets the first count bytes of dest to the character c.
#include <string.h>
#include <stdio.h>
int main()
{
char arr1[20] = "hello word";
memset(arr1, 'x', 5);
printf("%s\n",arr1);
char arr2[20] = "welecome!";
memset(arr2 + 4, '*', 4);
printf("%s", arr2);
return 0;
}