I must be doing something wrong; I am trying to get the user to input the 'row' index value for my 2D matirx array.
Could some please show me how to get this to work. The 'outputrow' is an int variable, and I want to get the user to specify it. But it doesn't do I expeted it to do. The column is predefined at 1, as I only want the user to specify the row value.Code:printf("Enter the row value for the output: "); scanf("%d", &matrix[outputrow]);
Does anyone have any ideas?