Doubt is about matrix size having even row and odd coloum given row < column

This code goes well with 33 matrix, 34 matrix
but not with 4*7 [ when row is even and column is odd ( row < col ) ]

hello @kundan_29
keep track of count of element printed and stop printing if it become n*m
check this->