PASSINAG A bidimansional array at a function

how do I pass as referance a bidimansional array ata function?

this

int a[1][2];

void f(int **b);

doesnt work ! type mismatch.

-i found this way ...

struct c

{

int *p[2];

} array;

voit initNewType()

{

array.p[0] = &(a[0][0]);

array.p[1] = &(a[0][1]);

}

void f(c *value)

{ //how do i move the array index thru the bidimansioal array?????

*((*value).p[i]+j); //value at a[j][i]....but there 's a mistake someone can help me?

//there's a simpler solution instead that using this mess?

}

main()

{ f(&array);

}

///there's a esyer way to pass by referance a duble array?

if you emailme to bruno.marovelli@fastwebnet.it i'll really apprciate it!