_memccpy
void *_memccpy(
void *dest,
const void *src,
int c,
size_t count
);
Parameters
dest
Pointer to the destination.
src
Pointer to the source.
c
Last character to copy.
count
Number of characters.
Return Value
If the character c is copied, _memccpy returns a pointer to the char in dest that immediately follows the character. If c is not copied, it returns NULL.
```cpp
#include <memory.h>
#include <stdio.h>
#include <string.h>
#include<iostream>
using namespace std;
int main(void)
{
//char buffer[41] = { '0' };
char string1[20] = "The qkhh";
***char buffer[5] = { '0' };***
char *pdest;
printf("Function: _memccpy 60 characters or to character ' '\n");
printf("Source: %s\n", string1)