fork download
  1.  
  2. void recebeValor(int size, int mat[][size]) {
  3. mat[0][0] = 2;
  4. }
  5.  
  6. int main() {
  7. int lin = 3;
  8. int col = 3;
  9. int mat[lin][col];
  10. recebeValor(col, mat);
  11. }
  12.  
  13. //https://pt.stackoverflow.com/q/99941/101
Success #stdin #stdout 0s 4548KB
stdin
Standard input is empty
stdout
Standard output is empty