Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

array initialization declaration c++

//Arrays only declaration
int tab[3][4];
//Arrays declaration with initialization
int tab[3][4] = {
  {0,1,2,3},
  {4,5,6,7},
  {8,9,10,11}   
};
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #array #initialization #declaration
ADD COMMENT
Topic
Name
7+9 =