void memset(void*dest,    int c,    size_t count  );

Parameters

dest

Pointer to destination.

c

Character to set.

count

Number of characters.

Remarks
Sets the first count characters of dest to the character c.

Required hearder file
<string.h>

Examples
Output
Before: This is a test of the memset function

相关文章:

  • 2022-12-23
  • 2021-06-24
  • 2022-12-23
  • 2021-08-31
  • 2022-02-09
  • 2021-12-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
相关资源
相似解决方案