
1.Explain the structure of a C program in detail.
Describe each component such as documentation section, link section, definition section, global declaration section, main() function, and user-defined functions. Explain the purpose of header files, preprocessor directives, and the compilation process of a C program with a neat example.
2.Discuss pointers in C with suitable examples.
Define pointers and explain how they are declared, initialized, and used. Describe pointer arithmetic, pointers and arrays, pointers to pointers, and passing pointers to functions. Also explain common applications of pointers and the advantages and disadvantages of using pointers in C programming.