1.Write a program that will compute the length of a given character string.
2. Write a program that will count the number occurrences of a specified character in a given
line of text. Test your program. 3. Write a program to read a matrix of size m X n and print its transpose.
3. Write a program to read two matrices A and B and print the following:
(a) A + B; and
(b) A – B.