Answers for "how to initialize array elements in cpp"

2

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}   
};
Posted by: Guest on January-03-2022

Code answers related to "how to initialize array elements in cpp"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language