C_136 Deallocating the Dynamically Allocated Memory using free() | C Programming Tutorials

preview_player
Показать описание

Use my code jkl10 to get 10% off on GATE subscription

GATE Scholarship Test registration link:

Connect & Contact Me:

See Complete Playlists:
Рекомендации по теме
Комментарии
Автор

mashallah!! may all-mighty save you from every negativity of this world and fulfills your valid desire and wishes

MohammedAhshan
Автор

Dear Jenny ma'am,
I don't know u will reply, but it would be nice if you would.

I am really grateful for you.
As i learnt C concepts in my initial stage, 1 st year engg.
Then some DSA content.
Really helpful to learn well, score more, more subject knowledge.
So that i can speak with people in-depth too.

All is because of u. As you teach well, so beginner and noob friendly. Teaching all from scratch with connecting.

Also u r doing all of it for free for a such a long time. This is really a Nobel work.
All praises are not enough. As many stop at times in YT.

So now comes another point of view.
You are really so awesomely beautiful.
You are a perfect example of Beauty with Brains. No one can disagree.

See it's not bad to praise beauty also.
I also learnt so well, i got S grade (10 points) in C, C++.

So study time is separate.

But still u r cute, beautiful, kind - especially on black dress too much awesome look.
Stunning beauty queen with expressions.
Your dressing and hairstyle sense is so nice.

If u reply I will be so happy.
Let's see.

Bye...

rbk.technology
Автор

Fear is not real. It is a product of Thoughts you create. Do not misunderstand me. Danger is very real. But fear is a choice.

Homelessbillionaire
Автор

for many of us, Coding is ugly. YOU make it BEAUTIFUL

MohammedAhshan
Автор

I love you so much. Watching from Ethiopia 🇪🇹

yasina
Автор

I am thankful for all of those who said NO to me. It’s because of them I’m doing it myself.”

Homelessbillionaire
Автор

Mem, u r just awesome. Love from Bangladesh & USa

yeasinhossaindurjoykhan
Автор

Hello mam can u add the concept of computer graphics, computer networks as these are my subjects in 2nd year of CS

codingpsych_by_aman
Автор

mam.... structured programming, classes and objects, friend functions, reference data type, arrays of objects, streams, stream manipulations, operator overloading, use defined manipulators, copy constructor, template functions, class template, overloading insertion and extraction operators, ....All these are remaining topics and my exams are on 22 march..Mam please make videos from some of these topics, if possible then cover all the topics.

abdullahsaeed
Автор

After the ending of c programing mam plz make video on java oop I am waiting mam

muddassirali
Автор

yourIntelligence = high
yourBeauty = astonishing
youCuteness = deadly
miraculousCombination = yourIntelligence + yourBeauty + youCuteness

myWish = to meet you

MohammedAhshan
Автор

All thé questions asked during the Qualcomm interview

shivamgupta
Автор

int *p = (int *)malloc(sizeof(int));
*p = 3;
free(p);
p = (int *)malloc(2 * sizeof(int));
*p = 33;
*(p + 1) = 333;
printf("%d %d", *(p + 1), *p);
free(p);

srs
Автор

two times freeing in a program

#include<stdio.h>
#include<stdlib.h>
void main()
{
int n, i, *ptr;
float *ptr1;
printf("Enter the no of values");
scanf("%d", &n);
ptr = (int*)calloc(n, sizeof(int));
printf("\nEnter the Values");
for(i=0;i<n;i++)
{
scanf("%d", (ptr+i));
}
printf("\nEntered Values are");
for(i=0;i<n;i++)
{
printf("%d\t", *(ptr+i));
}
free(ptr);
printf("\nEnter of values");
scanf("%d", &n);
ptr1=
printf("\nEnter the values");
for(i=0;i<n;i++)
{
scanf("%f", (ptr1+i));
}
printf("\nEntered Values are");
for(i=0;i<n;i++)
{
printf("%f\t", *(ptr1+i));
}
free(ptr1);
}

hariparuchuru
Автор

Hello Madam! After freeing the pointer, can't we delete it completely, rather than assigning NULL value to it?

gladsonjeremias
Автор

Mum there best concept in c which aren't uploaded is threading multhreading soket in c explain about mutex () fork() and API IN C please 🙏🙏🙏🙏

motemontero
Автор

All time works for students
Love ❤️ you .

funvan
Автор

Ma'am please make a video on debugging
I participated in debugging competition, so your video will help me

kuberbhagat
Автор

Aapki videos bahut useful hoti hai ma'am...

amanpanchal
Автор

Why didn't you freed the local ptr inside display()?
Or is it because you passed ptr into ptr1, meaning you are anyways freeing the allocated memory space?

PriteshGuptaa
welcome to shbcf.ru