You can use the memset function, this way:
memset (cData, 0, 50 * 5 * sizeof (char));
this fills all items in the array with '0' value.
This method is valid even for other types of variables, simply inserting the correct type into the sizeof operator.
Roberto