250+ C programs for practice 2021 page no: 6

● Search an element in an array.
● Sort array elements in ascending or descending order.
● Sort even and odd elements of the array separately.
● Left rotate an array.
● Right rotate an array.
6. Matrix Questions
● Add two matrices.
● Subtract two matrices.
● Perform scalar matrix multiplication.
● Multiply two matrices.
● Check whether two matrices are equal or not.
● Sum of the main diagonal elements of a matrix.
● Find the sum of minor diagonal elements of a matrix.
● Find the sum of each row and column of a matrix.
● Interchange diagonals of a matrix.
● The upper triangular matrix.
● Find a lower triangular matrix.
● Sum of the upper triangular matrix.
● Find the sum of a lower triangular matrix.
● The transpose of a matrix.
● Find determinant of a matrix.
● Identity matrix in C.
● Check the sparse matrix.
● Check the symmetric matrix.
Next page

Post a Comment

0 Comments