Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

2D Array In C

// Array of size n * m, where n may not equal m
for(j = 0; j < n; j++)
{
    for(i = 0; i < m; i++)
    {  
        array[i][j] = 0;
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Array #In #C
ADD COMMENT
Topic
Name
6+4 =