Opening book details…
Can I read C Memory Management: Dynamic vs Static on EtoBox?
C Memory Management: Dynamic vs Static by Aamir Chohan is a document available to read on EtoBox.
What is C Memory Management: Dynamic vs Static about?
Aatif Shahbaz 18 Multiple Block Allocation malloc( ) allocates a single block of memory. To allocate multiple blocks of memory, multiple calls to malloc( ) are required. Example: int *ptr1, *ptr2; ptr1 = malloc(10*sizeof(int)); ptr2 = malloc(15*sizeof(int)); Here two blocks of memory are allocated - - First block of 10 integers - Second block of 15
- Author
- Aamir Chohan
- Language
- EN