C Programming Language Part 15 in Hindi | Dynamic Memory Allocation in C | DMA Functions |PremnArya | PN Arya | Prem Sir

  • 4 years ago
C Programming Language Part 15 in Hindi | Dynamic Memory Allocation in C | DMA Functions |PremnArya | PN Arya | Prem Sir

About this video
This video explains about Programming in C Language in Hindi. Each topic explained with a programming example in Hindi.

The following Concepts Covered in this video:
1. Dynamic Memory Allocation
2. Memory Allocation Process
3. Malloc( ) Function
4. Calloc( ) Function
5. Free( ) Function
6. Realloc( ) Function

What is Dynamic Memory Allocation?

In dynamic memory, allocation allocates memory by the variable at run time. It is possible by memory management functions that can be used for allocating and freeing memory during program execution.

Memory allocation functions
(1) Malloc( ) – Allocate request size of bytes and return a pointer to the first byte of the allocated space.
(2) Calloc( ) – Allocate space for an array of elements, initializes them to zero, and then return a pointer to the memory.
(3) Free( ) – Free previously allocated space.
(4) realloc( ) – Modifies the size of previously allocated space.

►Follow us our social link for regular updates:
Facebook Page: https://www.facebook.com/premnarya10
Twitter: https://twitter.com/premnarya10

Recommended