Professional Documents
Culture Documents
GE23121_C_ASSIGNMENTS
GE23121_C_ASSIGNMENTS
ASSIGNMENT_1
d. Explain the recursive approach for solving the Towers of Hanoi problem.
2. ASSIGNMENT_2
a. Illustrate the basic structure of a C program and explain the purpose of each section.
3. ASSIGNMENT_3
4. ASSIGNMENT_4
a. Discuss the concept of modular programming with a focus on function prototypes and
definitions.
c. Explain the role of pointers in C programming and demonstrate their use with examples.
e. Explore the built-in functions in C, with a special emphasis on string and math functions.
5. ASSIGNMENT_5
b. Discuss the concept of unions and provide a use case where unions are beneficial.
d. Describe dynamic memory allocation in C and its application in a singly linked list.