fork(2) 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.  
  9. int col = 3;
  10.  
  11. int mat[lin][col];
  12.  
  13. recebeValor(col, mat);
  14. return 0;
  15. }
Success #stdin #stdout 0s 2152KB
stdin
Standard input is empty
stdout
Standard output is empty