Answers for "Memset function in C++"

C++
0

memset in c++

#include <cstring>
memset(a, 0, sizeof(a));
Posted by: Guest on June-05-2021
0

memset c++

memset(a, 0, sizeof(a)) 
memset(str, '#', sizeof(str));
Posted by: Guest on April-20-2021
0

memset in cpp

/* memset example */
#include <stdio.h>
#include <string.h>

int main ()
{
  char str[] = "almost every programmer should know memset!";
  memset (str,'-',6);
  puts (str);
  return 0;
}

Output: ------ every programmer should know memset!
Posted by: Guest on March-26-2021
0

Memset function in C++

/* memset example */
#include <stdio.h>
#include <string.h>

int main ()
{
  char str[] = "almost every programmer should know memset!";
  memset (str,'-',6);
  puts (str);
  return 0;
}
Posted by: Guest on August-26-2021
0

memset in c++

asdad
Posted by: Guest on May-27-2021

Browse Popular Code Answers by Language