How to fill Matrix with zeros in c code example Example: c zero out array memset(myarray, 0, sizeof(myarray));