Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

how to declare a integer list on c

int dataArray[length];
int dataArray[0] = [1,2,3];
int dataArray[1] = [5,6];
.
.
.
populate

for(int a = 0; a<sizeof(dataArray); a++) {
   tempArr = dataArray[a];
   for(into = 0; b>sizeof(tempArr); b++) {
      print(dataArray[a][b])
   }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #declare #integer #list
ADD COMMENT
Topic
Name
6+7 =