Question
Please write the following in C (not C++ or Java) Create a function that accepts a two dimenssional array of integers and displays Row by
Please write the following in C (not C++ or Java)
Create a function that accepts a two dimenssional array of integers and displays
Row by row ( fix row - iterate thru the columns)
b) column by column (fix column iterate thru the rows)
Lets assume the elements of the array 3 X 4 is
11 12 13 14
21 22 23 24
31 32 33 34
Example output for a)
11 12 13 14 *(these number are from row 1)
21 22 23 24 *(these number are from row 2)
31 32 33 34
Example output for b)
11 21 31 *(these number are from column 1)
12 22 32 *(these number are from column 2)
13 23 33
14 24 34
*Note : This is information for you .. do not display this as part of your output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started