You are on page 1of 1

UNIT-II

1. What are the different types of control statements available C. Explain them with an example?

2. What is the advantage of using arrays? Give syntax for declaration, accessing and printing one - dimensional array? 3. Write the syntax for declaring two - dimensional array write a program to access and print the array elements. 4. Write a program to find max and min elements from the array. 5. (a) Give an example on break and continue statements of loops (b) Write a program using do-while loop for the following format. 1 22 333 4444 55555 6. Explain any three string manipulation functions. 7. Write a program for implementation of matrix addition. 8. Write a c program for addition of two matrices. 9. Write a c program for multiplication of two matrices.

You might also like