I've been working with some C code and I would like to know what the difference is between next codes:
double myArray[5] = {0,0,0,0,0};
and
double myArray[5];
memset(myArray,0,5*sizeof(double));
Could there be a problem for replacing the second one with the first one? If so, what kind of problems might be?