memsert code example
Example: memsert
int a[5];
memset(a, 0, sizeof(a);
for (int i = 0; i < 5; i++)
cout << a[i] << " ";
// Output : 0 0 0 0 0
int a[5];
memset(a, 0, sizeof(a);
for (int i = 0; i < 5; i++)
cout << a[i] << " ";
// Output : 0 0 0 0 0