Answer the following question: (a) Write down a function to compute the sum of each row of an n×m matrix of integers. (b) Write down a C function to…

Answer the following question:

(a) Write down a function to compute the sum of each row of an n×m matrix of integers.

(b) Write down a C function to sort a list of strings in alphabetic order.

(c) Is it possible to convert all if-else code into switch code block? Give an example.

From the BPSC Assistant Programmer (CSE) 2019 – Written exam, question 4 of 8.

More from this paper