Monday, 11 February 2019

TAKE HOME TASK - 4


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

TERM WORK - 6. QUEUES PBL ACTIVITY ON 02 MAY 2019.

SYLLABUS: 2 TYPES OF QUEUES. LINEAR AND CIRCULAR.