Answers for "how to intialize array elements to 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 intialize array elements to 0"

Browse Popular Code Answers by Language