#include "string.h"
We have some arrays in our code like
float arr[200] = {}; //an array declaration
void PI (){ //a function here
//some codes here
if (a==0){
// I want to fill arr[200] with zeros here.
}
}
I used this:
memset(arr, 0, 200*sizeof(float));
but debug freezes. Anyone can help??