"1 row and 0 column", I think it doesn't have space to store any element, but
int arr[1][0] ={1};
tried to store an element to array, that's not correct,
if you need an array that every element is also an array, and it includes one element like this, you can code:
#include <vector>
#include <iostream>
using namespace std;
void test()
{
vector< vector<int> > v(1);
cout << "v.size ==" << v.size() << "; v[0].size == " << v[0].size() << endl;
}
or you can code:
int* arr[1];
int arr1[] = { 1,2,3 };
arr[0] = arr1;