c zero out array
#include <stdio.h>
#include <string.h>
int main() {
int arr[10];
memset(arr, 0, sizeof(arr));
// Rest of the code if needed
return 0;
}
#include <stdio.h>
#include <string.h>
int main() {
int arr[10];
memset(arr, 0, sizeof(arr));
// Rest of the code if needed
return 0;
}