Why is there no ouput?


#1

int i,j;
vector<vector> v;
v[0][0]=1;
for(i=1;i<A;i++)
{
v[i][0]=1;
v[i][i]=1;
for(j=1; j<=i-1;j++)
{
v[i][j]=v[i-1][j]+v[i-1][j-1];
}
}
return v


#2

i guess, its because you didn’t specify vector size and using its element !!