Topic 9 - Topic 9: Dynamic Memory Allocation Objectives At...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Topic 9: Dynamic Memory Allocation Objectives At the end of the lab session, students should be able to: Differentiate dynamic memory allocation from static memory allocation. Understand the use of typecasting. Understand the use of sizeof. Use malloc(), realloc(), and calloc() for allocating memory. Use free() to free allocated memory. Create programs that use arrays that dynamically change size during program execution. Preliminary Report – to be extracted 10 minutes after the start of class next week. Final Program to be extracted 10 minutes before the end of the class next week. Preliminary Report Requirements Introduction (10%, should provide a clear introduction to the concept behind the laboratory exercise. Significance of concept was properly emphasized . ) Provide a brief introduction about dynamic memory allocation. Differentiate dynamic memory allocation from static memory allocation and discuss its importance in C programming and engineering applications. Concept Theory (30%, required concepts are clearly discussed; discussed concepts are correct)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

Topic 9 - Topic 9: Dynamic Memory Allocation Objectives At...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online