Create Array using Malloc | Pointers in C | Data Structure Using C

↔️ ↕️


hello dear students in this video we

will extend our knowledge about malloc


and we will understand how to create

array using malloc function


so as you see in this particular slide

i have written some declarations

and i have explained

how malloc can be used malloc library

function can be used for creating an

array in this program

but before we see this program at full


let us work on an empty slate

and try to understand

that what we are talking about first

let's say in my program i declare one

pointer into pointer p

now you know that the pointer p will be

stored in the memory

Related queries:

malloc array example
how to malloc an array of pointers in c
how to malloc array