IMPORTANT QUESTIONS
1. Write a C program to declare and initialize a one-dimensional array and a two-
dimensional array and find the sum of their elements.
2. Write a C program to demonstrate how a pointer is used to access elements of an
array. Display all elements using pointer notation.
3. Discuss two-dimensional arrays and write a program to perform matrix addition.
4. Define pointers in C. Explain pointer variables, pointer operators with examples.
5. Explain selection statements in C with syntax and suitable program examples for each
type.
6. Explain the goto, break, return, and continue statements in C with syntax and suitable
program examples for each.
7. Explain how a single-dimensional array is passed to a function in C.
8. Explain the relationship between arrays and pointers with suitable examples.
9. Define variable length array. Illustrate how variable length array is different from
static array.
10. Explain the do-while loop with syntax and example.
11. Discuss jump statements in C (break, continue, goto, return, exit()) with examples.
12. Write a short note on the ? alternative in C.
13. What are arrays of pointers? Explain with examples.
14. What are arrays of strings? Explain with examples.
15. Explain multiple indirection (pointer to pointer) with diagrams.