4. DYNAMIC MEMORY: DATE: 12/02/2019
LAST DATE: 14/02/2019
P7. Design
a C program to read a one dimensional array, print sum of all elements
using Dynamic Memory Allocation. (Use calloc() function)
P8. Design
a C program to read a one dimensional array for 10 elements, print sum of
all elements using Dynamic Memory Allocation. Add another 10 elements add
them to previous elements and print sum of all 20 elements. (Use realloc()
function)
No comments:
Post a Comment