how to initialize a bool 2d array with all 1's in c++ code example
Example: how to initialize 2d array with values c++
int main()
{
int arr[2][5] =
{
{1,8,12,20,25},
{5,9,13,24,26}
};
}
int main()
{
int arr[2][5] =
{
{1,8,12,20,25},
{5,9,13,24,26}
};
}