Programming for Problem Solving (ES-CS291)
2024
ROLL
NAME
Learning outcome: Students will be able to use Pointers,
Structures and Dynamic memory allocation.
ASSIGNMENT: VI
Sl. Program Listing Date Signature
No
1 Write a C program to create one dimensional array using
dynamic memory allocation and find the smallest and largest
element in the array using a function findminmax().
2 Write a C program to implement a structure student (sid, sname,
mark[5], total). Create an array of five students and print student
detail with total marks.
3 Write a C program to sort a number of strings in alphabetical
order using dynamic memory allocation.
SIGNATURE OF STUDENT........................................................
SIGNATURE OF FACULTY........................................................