Having covered the theoretical basics of 2D-Arrays in our previous discussion , let's now apply our basics in solving and understanding 2D-concepts more !!
Q1. How to Print 2D array/matrix row-wise ?
Example
Input : mat[][] = {{1, 2, 3,4}, {5, 6, 7,8}, {9,10,11,12}}
Output : Row-wise: 1