Question: 4 A Write a C program to read a matrix of size M x N and display. The program must find and 5 M display
A Write a C program to read a matrix of size and display. The program must find and
display the location of all the elements in the matrix which are both the largest element in its column and the smallest element in its row. Replace all such elements with the row average. If no such elements exist, then display appropriate message.
table
B With appropriate example program code, explain how to retuin multiple values from a
function using pointers.
C Write a complete C program to read and print a string using pointer.
A Write a C program to read a dimensional integer array matrix arr of order and display the array. Use a recursive function SoDintto find the sum of digits of an odd element value from the array read above and replace the element with its sum. Using pointers write another function decBin int that takes as a parameter the sum of digits of odd
elements computed above, replace it with its binary equivalent in the same dimensional array, and display the array in matrix form in the main program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
