CP Lab-9 [Dynamic Memory Allocation and File ]
Post date: Dec 5, 2017 10:26:56 AM
1.Write a C program to find sum of n elements entered by user. To perform this program, allocate memory dynamically using malloc() function. 2. Write a C prgram to implement string function strcat() using loops. 3. Write a C program to write to a file and read the same file after writing.