Answers for "how to initialize an array with 0"

1

Initialize all the elements of array to 0

int myArray[10] = { 0 }; // all elements 0
Posted by: Guest on April-30-2021

Code answers related to "how to initialize an array with 0"

Browse Popular Code Answers by Language