void recebeValor(int size, int mat[][size]) {
mat[0][0] = 2;
}
int main() {
int lin = 3;
int col = 3;
int mat[lin][col];
recebeValor(col, mat);
return 0;
}
CnZvaWQgcmVjZWJlVmFsb3IoaW50IHNpemUsIGludCBtYXRbXVtzaXplXSkgewogICBtYXRbMF1bMF0gPSAyOwp9CgppbnQgbWFpbigpIHsKCWludCBsaW4gPSAzOwoKCWludCBjb2wgPSAzOwoKCWludCBtYXRbbGluXVtjb2xdOwoJCglyZWNlYmVWYWxvcihjb2wsIG1hdCk7CglyZXR1cm4gMDsKfQ==