Answers for "instantiate array of length with 0s"

1

Initialize all the elements of array to 0

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

Browse Popular Code Answers by Language