Dynamic memory allocation in C and C++ | calloc malloc realloc free new delete

preview_player
Показать описание
This lecture explains how to dynamically allocate and deallocate memory. We will se calloc malloc realloc free in C new and delete in C++.If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
Рекомендации по теме
Комментарии
Автор

6:22 teaching c while a riot is going on!!!!

DEDICATION!!!!👍👍

_guru
Автор

This was actually very helpful. Helped me transition from C to C++

fugoogle_was_already_taken
Автор

i came here a day before my finals, thanks for this video.

tech.excelsior
Автор

Good enough buddy!! 😉 I would also suggest you to do all this firstly like you did(tell about concept) and then do it in real IDE. People will come more and more .

himanshurajpal
Автор

Thank you ☺️ sir for teaching for me at the night before exam

mandalaanilkumar
Автор

Thank you for the video, It's very helpful for me

shrabonisinha
Автор

Thanks a lot, finally I can use all of them, well explained

josephmbote
Автор

Perfect video... Less time correct Contents....

viveka
Автор

Malloc is used for structure only or array also???

suyashvfx
Автор

how is this compared to new keyword? is it much better or better?

niesamain
Автор

What's Realloc alternative in cpp ?

BhatiJhabarSingh
Автор

how can we access different elements of the array in case of malloc allocation when the memory chunk is not divided?

AshishKumar-kuck
Автор

can we use malloc() function to dynamicaly allocate memory in c++ ??

piyushtiwari
Автор

The syntax for realloc() function is incorrect. It should be:
int *ptr = (int *) malloc( n * sizeof(int));
ptr = realloc(ptr, x*sizeof(int));

adityakrishna
Автор

free is it only for C? Can i use it in c++ too?

Rozalinaag
Автор

who is getting killed in the background?

armando
Автор

Sir aapke ghar ke bahr dange ho rhe h or aap padha rhe h?

shubhanshusahuu
Автор

next time take a shot of vodka after every Okey just a tip jeez xD

peteranderson