Scanf confusion, 2 dimensional array modification
I have two questions:
1) what is the difference between
Note: a is previously declared char. and there is a space right before %c in the second statement.
The reason I asked is that while implementing a program, the first statement wasn't executed whereas the second was.
How can you modify a 2 dimensional array, which represent a matrix, using a function that accepts only an int, specifically an element of this matrix.
The function should return an array which is a sub matrix with row and column containing the element sent to this function deleted.
I've thought of using a pointer function, but how I can know the size of the array, and before that, how can I know the other elements of the array.
Any kind of help would be much appreciated.