0
Why doesn't this code work?
In this exercise, I have to do a matrix whose elements in the position i,j are (i)!+(j)!. It gives me a problem with the function that I have defined out of the main. What did I wrong? https://code.sololearn.com/cJMk0v20y3ww/?ref=app
4 ответов
+ 2
Salvatore Di Lorenzo
Please include your actual code link in question not as a tag to the question.
https://code.sololearn.com/cJMk0v20y3ww/?ref=app
+ 2
Salvatore Di Lorenzo
Include the link description..
By the way..
You are allocating size for M[i] from 0 to rig-1
But you are accessing 1 to rig values..
M[rig] is uninitialized memory, not acceesible..
+ 1
Right, that was the problem
0
Salvatore Di Lorenzo the liNk does not refer to the code.