Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ initialize array with all zeros

int myArray[10] = { 0 }; // all elements 0
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #initialize #array #zeros
ADD COMMENT
Topic
Name
6+8 =