Memory Layout of C Programs - Dynamic Memory Allocation : C Tutorial In Hindi #45

Поделиться
HTML-код
  • Опубликовано: 25 май 2019
  • In this series of C programming tutorial videos, I have explained you everything you need to know about C language. I hope you are enjoying this C course in Hindi.
    ►This C Lecture is a part of this C Programming Course: • C Language Tutorials I...
    ►Source Code + Notes: codewithharry.com/videos/c-la...
    ►Click here to subscribe - / @codewithharry
    Best Hindi Videos For Learning Programming:
    ►Learn Python In One Video - • Learn Python In Hindi ...
    ►Learn JavaScript in One Video - • JavaScript Tutorial
    ►Learn PHP In One Video - • Learn Php In One Video...
    ►Machine Learning Using Python - • Machine Learning Tutor...
    ►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
    ►Advanced Python Tutorials - • Intermediate/Advanced ...
    ►Object Oriented Programming In Python - • Object Oriented Progra...
    ►Python Data Science and Big Data Tutorials - • Python Data Science an...
    Follow Me On Social Media
    ►Website (created using Flask) - www.codewithharry.com
    ►Facebook - / codewithharry
    ►Instagram - / codewithharry
    ►Personal Facebook A/c - / geekyharis
    Twitter - / haris_is_here

Комментарии • 135

  • @mneon3964
    @mneon3964 Год назад +21

    After 3 years sir you are winning the heart of many beginners with this playlist. Sir, you are great. May you live long and help the beginners like us in our journey.

  • @ramgulhane1468
    @ramgulhane1468 2 года назад +22

    Stack is just like making small rooms in a big house and heap is like borrowing some space for certain time and then returning it.

  • @vishalchauhan9832
    @vishalchauhan9832 5 лет назад +70

    Hi sir you are really doing a great job!

  • @pradippandey5072
    @pradippandey5072 2 года назад +9

    Love you man. I can't stop myself from watching again and again even the topics I understand. The way you explain the conceptual details is mesmerizing

  • @ALL_R0UNDER
    @ALL_R0UNDER 3 года назад +18

    CWH...!
    YOU ARE GREAT TEACHER YAARR...absolutely...
    I understand this base concept in this video. In first attempt.
    Recently i watch another (English) video on this topic really i don't understand. But your teaching method && style are...🙌🙌✨🌟 SALUTE...
    Keep_it_up++;
    And ALL THE BEST 🌟🤩👍

  • @codewithharryfanchannel559
    @codewithharryfanchannel559 5 лет назад +13

    You have created excellent channel for programming. Best in you tube

  • @nbledits3199
    @nbledits3199 2 года назад +3

    Best description of memory layout of C program! Coz Harry bhai is always OP!🧡 I just want to add that while differentiating static and dynamic memory allocation, Both memories are allocated during execution always, it's just that compiler reserves the said memory in case of static allocation.

  • @Education_hub23
    @Education_hub23 2 года назад +4

    Fully understood this lecture 🙏🙏 ,, thanks a lot sir,. Ur all videos are logically understandable, i didn't comment on any video till now but ur videos are very appreciable

  • @khadimhusen
    @khadimhusen 5 лет назад +19

    Tough for me to absorb. Need to be watch again and again.

  • @beautifulworld3430
    @beautifulworld3430 2 года назад +3

    YOU ARE GREAT TEACHER YAARR...absolutely...
    I understand this base concept in this video. In first attempt.
    Recently i watch another (English) video on this topic really i don't understand. But your teaching method && style are...🙌🙌✨🌟 SALUTE...
    Keep_it_up++;
    And ALL THE BEST 🌟🤩👍

  • @mantharkhan2992
    @mantharkhan2992 5 лет назад +6

    Wow Apke video ne mujhe ek progaramming karna saka diya

  • @SANJAYDAS-zh7fw
    @SANJAYDAS-zh7fw 2 года назад +4

    For this type of concepts is why I am learning C.

  • @manavroy7293
    @manavroy7293 2 года назад +2

    Thanks sir,You cleared my concepts:)

  • @arpitverma7807
    @arpitverma7807 2 года назад +3

    Far better than institute's lectures

  • @engineerbhai7642
    @engineerbhai7642 5 лет назад +5

    Bestcoder in you tube

  • @anurag_ad_01
    @anurag_ad_01 3 года назад +3

    Thanku sir ji❤️🔥🔥🔥🔥🔥

  • @shrutisonal5347
    @shrutisonal5347 2 года назад +2

    Well explained!! I am a fan of yours💜😊

  • @Goku-ir1sy
    @Goku-ir1sy 3 года назад +1

    You teach very well.

  • @vipulkumarjjs
    @vipulkumarjjs 2 года назад +2

    Good job..😍😍😍bro...Very helpful......Keep it up.......Far.. Better than online course of NIT

  • @jaypatel9392
    @jaypatel9392 4 года назад +1

    Waah Harry bhai

  • @tarungoyal2113
    @tarungoyal2113 3 года назад +44

    His lectures are far better then iit's lectures of cs 👍👍

  • @RohanDasRD
    @RohanDasRD 5 лет назад +10

    Finally doubt clear ho gaya

    • @phlox22
      @phlox22 3 года назад

      Sai m? Mujhe to laga

  • @programmingwithjavascript3579
    @programmingwithjavascript3579 3 года назад +2

    Unbelievable👍😍 tutorial

  • @_CS_DeepMehta
    @_CS_DeepMehta 5 лет назад +2

    Great sir

  • @divyanshbalodhi5642
    @divyanshbalodhi5642 2 года назад +2

    Very good explanation 👍

  • @bitsplot
    @bitsplot 5 лет назад +10

    Sir, please make a video to install a header file of c language in visual studio code....

  • @sarthakchandurkar913
    @sarthakchandurkar913 2 года назад +2

    I really like that test tube example

  • @readingradiance1
    @readingradiance1 3 года назад

    Thanks for supporting sir

  • @mohammadakil8376
    @mohammadakil8376 3 года назад +1

    Thakyou soo much for your help
    I wish you will give some more language

  • @user-vr6iz2yz9i
    @user-vr6iz2yz9i 11 месяцев назад

    Thank you harry , you teach very well

  • @akashpadampalle2244
    @akashpadampalle2244 5 лет назад +1

    Nice harry bhai

  • @shivranjanmavi8345
    @shivranjanmavi8345 Год назад

    Sir you are best teacher of world

  • @pradnya3820
    @pradnya3820 4 года назад +1

    You are best😎

  • @gyangouravdesarkar265
    @gyangouravdesarkar265 2 года назад

    Very nice explanation!!

  • @NitinKumar-qk1fi
    @NitinKumar-qk1fi 4 года назад +1

    Awesome bro🤜🤜🤜🤜🤜

  • @A_M_A_N794
    @A_M_A_N794 Год назад

    i watch this video three times then i understand Thanks

  • @_digi_arts3533
    @_digi_arts3533 3 года назад +1

    Keep up sir!

  • @rishu-mishra
    @rishu-mishra 2 года назад

    Great Harry bhaiya ! Love u

  • @royfamily9273
    @royfamily9273 2 года назад

    Thanks Harry Bhaiya

  • @chiteez_____1562
    @chiteez_____1562 8 месяцев назад

    Very nice explanation ! ❤👍

  • @ittechsolution7356
    @ittechsolution7356 5 лет назад +16

    Hello bro ,,uplode video on data atructure in c language

    • @anoopkumarshukla6808
      @anoopkumarshukla6808 3 года назад +1

      NOW AVAILABLE :)

    • @Chess_.64
      @Chess_.64 2 года назад

      bhai pehle english thodi sahi karlo

    • @Austination316
      @Austination316 2 года назад

      @@Chess_.64 you cant tell me you never had basic typos ever

    • @Chess_.64
      @Chess_.64 2 года назад

      @@Austination316 yes i do have basic typos but i correct them its data structure not atrcture

    • @Austination316
      @Austination316 2 года назад

      @@Chess_.64 you think harry wouldnt know its data structure and not atructure

  • @ankitgupta8848
    @ankitgupta8848 2 года назад

    Great effort sir

  • @harshtomar8886
    @harshtomar8886 2 года назад

    love you harry bhai😍😍😘😘 best Explaination

  • @divyam69
    @divyam69 2 года назад

    Thank you Harry

  • @pankajpareek7628
    @pankajpareek7628 3 года назад

    Thanks a lot sir

  • @shivammittal9676
    @shivammittal9676 Год назад

    next level explaination op sir

  • @AhmadRizviYT
    @AhmadRizviYT Год назад +2

    mere university ki cs ki teacher kuch nahi padhati, sara yahi se top quality resource ka use karna hota hai

  • @princevaghasiya4542
    @princevaghasiya4542 Год назад +1

    It's very easy when sir teach us

  • @Gayatri_shejule
    @Gayatri_shejule 8 месяцев назад

    Thank you sir 😊😊

  • @subhajitghosh3867
    @subhajitghosh3867 4 года назад +4

    we need data structure series

  • @Sans_K5
    @Sans_K5 Год назад

    thanks_Sir💜

  • @satyajitachar4159
    @satyajitachar4159 5 лет назад +2

    Greate

  • @rickk3300
    @rickk3300 3 года назад +3

    This topic is really tough to digest. I need to see this video repeatedly.

  • @abhiraj3477
    @abhiraj3477 5 лет назад +4

    JavaScript's ka video banao sir

  • @JR-vm1xm
    @JR-vm1xm Год назад

    thanks

  • @Unosuniverse31621
    @Unosuniverse31621 3 года назад

    Bhutan bdhiya

  • @believeinpractical3930
    @believeinpractical3930 3 года назад

    Nice

  • @VinaySharma-bb6ib
    @VinaySharma-bb6ib 5 лет назад +1

    please make videos on c++

  • @samirshaikh6806
    @samirshaikh6806 4 года назад +2

    Algorithm and data structure

  • @adarshkhatri993
    @adarshkhatri993 3 года назад +1

    Maja aaya...

  • @Ash-fo4qs
    @Ash-fo4qs 2 года назад

    dynamic programming series with c++, plz

  • @akashgola2153
    @akashgola2153 2 года назад

    Understood

  • @SanjayYadav-by4ie
    @SanjayYadav-by4ie 9 месяцев назад +1

    I am watching this Video 29/09/2023 sir you winning laout of heart.

  • @codingmaster4199
    @codingmaster4199 5 лет назад +2

    please make something for python programing
    I am Anand

  • @wasimkhan6899
    @wasimkhan6899 5 лет назад +3

    Sir c language k baad Reactjs k coarse ka number hai.

  • @Ravindrakumar-oz9fp
    @Ravindrakumar-oz9fp 3 года назад +1

    hello bro please teach graphics in C language

  • @atyabthemimicryboy6755
    @atyabthemimicryboy6755 3 года назад

    I can use more memory than how much I've allocated with malloc(), why?

  • @codingmaster4199
    @codingmaster4199 5 лет назад +1

    python pe video banaooo

  • @fjhdscb5995
    @fjhdscb5995 2 года назад

    ❤️

  • @tarungoyal2113
    @tarungoyal2113 3 года назад +7

    congratulations wo interesting thing ad thi 😂😂20:59 kis kis k liye bhi ad tha

  • @dhruvrajsinhgohil6715
    @dhruvrajsinhgohil6715 3 года назад +5

    Great power comes with great responsibility-stan lee❤️❤️

  • @yourlinuxguy
    @yourlinuxguy 2 года назад

    making a diffeence !!!

  • @wasifnadeem6209
    @wasifnadeem6209 2 года назад

    Harry bhai! Agr humne func1 ko return nhi kiya to vo stack se move out hoga ya nhi!?

  • @vsk9630
    @vsk9630 2 года назад

    👍👍👍

  • @Goku-ir1sy
    @Goku-ir1sy 3 года назад +4

    Nobody:
    Literally nobody:
    Codewithharry in every video:
    "Ye koi rocket science nhi hai , aage bhi koi 🚀 science nhi h"

  • @deepaktiwari-ry9yo
    @deepaktiwari-ry9yo 5 лет назад +2

    Sorry bhai... Thoda busy tha islea video nhi dekh pa rha tha

  • @abhnvkhre
    @abhnvkhre 5 лет назад +5

    bhai which device do you use and you recommend for a cse student?

  • @sahilpathan2703
    @sahilpathan2703 3 года назад

    College main jo sikhaya.. kuch samaj nhi aaya.. Apne doubts ko lekar Teacher ke pass gaya.. 3 baar.. fir bhi samaj nhi aaaya... Apne is tutorial series main saare doubt clear kar diye hai abtak ......
    College lectures main nhi samjha Apke tutorials se sab aache se samaj aaya

  • @armaanmalik8846
    @armaanmalik8846 4 года назад +4

    Are sir stack me to Jo sbse pehle jata h use aakhir me niklna pdta hai... To first in last out hua na....

  • @Unosuniverse31621
    @Unosuniverse31621 3 года назад

    Class sir

  • @ankushpal473
    @ankushpal473 3 года назад +2

    what will happen if we provide less memory by the malloc than the required for ex
    int main()
    {
    char *s;
    s=(char*)malloc(2*sizeof(char));
    scanf("%[^
    ]%*c",s);
    }
    now i have 2 byte of memory avaliable
    but if i entered the more than 2 character which will occupies more than 2 byte of memory.
    please share the question

  • @opdrags8636
    @opdrags8636 2 года назад

    🔥🔥🔥🔥🔥🔥🔥🔥🔥

  • @jayanspaliwal5907
    @jayanspaliwal5907 2 года назад

    14:56 Sure case with me

  • @safderjamali172
    @safderjamali172 4 года назад +1

    loop bhi kr ke dikhaooo

  • @VivekJaviya
    @VivekJaviya 4 года назад +2

    Linklist samjao bhai

  • @jaisinha1378
    @jaisinha1378 3 года назад +2

    Bhaiya when I am executing my size command it's showing-:
    gcc: error: ;: No such file or directory
    gcc: error: size: No such file or directory
    gcc: error: .\a.exe: No such file or directory

    • @harshrajsingh6945
      @harshrajsingh6945 3 года назад

      Bhai bin m se copy krle mingw k path ko aur properties m jakr environment m new path add krle hojyega

    • @MPrachiShinde
      @MPrachiShinde 2 года назад

      @@harshrajsingh6945 Thoda elaborate karo na...meko bhi wo part nahi samjha

  • @soumitrasharma9952
    @soumitrasharma9952 3 года назад

    harry bhai mere usme 21:54 me jo apne btaya na woh meri ide me nhi work kr rha h

  • @UECPAPPUKUMAR
    @UECPAPPUKUMAR Год назад +1

    HARRY Bhai kab dil doge hamko❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @Charchakavishay579
    @Charchakavishay579 3 года назад

    18:01

  • @khuesheedali5589
    @khuesheedali5589 Год назад

    Dear sir
    I want PDF Notes this C programming series

  • @mohdshavez2725
    @mohdshavez2725 3 года назад

    Hi , Sir I'm a student I don't under in Stack in this video

  • @AdarshKumar-lf1kf
    @AdarshKumar-lf1kf 5 лет назад +2

    Pdf
    ...
    Notes.......

  • @factzandcode
    @factzandcode 2 года назад

    LIFO : Last In First Out

  • @officialgamer7433
    @officialgamer7433 Год назад

    After A big time big... spider man dialogue-"With Great Power comes great risponcibilities"

  • @NitinKumar-qk1fi
    @NitinKumar-qk1fi 4 года назад +1

    Mere b size show nhi ho rha

  • @sohailmomin1486
    @sohailmomin1486 2 года назад

    20:13

  • @vishalsrivastava20011
    @vishalsrivastava20011 5 лет назад

    #CodeWithHarrysir solution check kr ke batiye sahi hai
    #include
    #include
    struct travel_agency
    {
    char name[15];
    char driving_license[13];
    char route[10];
    int kms;
    };
    int main(int argc, char const *argv[])
    {
    int i = 0;
    struct travel_agency s[3];
    for (i = 0; i < 3; i++)
    {
    printf("1.ENTER THE NAME OF THE DRIVER-");
    scanf("%s",s[i].name);
    printf("2.ENTER THE DRIVING LICENSE NO.-");
    scanf("%s",s[i].driving_license);
    printf("3.ENTER THE ROUTE(from where to where)-");
    scanf("%s",s[i].route);
    printf("4.ENTER THE DISTANCE(in kms)-");
    scanf("%d",s[i].kms);
    }
    for (i = 0; i < 3; i++)
    {
    printf("1.NAME OF THE DRIVER-%s\t
    2.DRIVING LICENSE NO.-%s\t
    3.ROUTE-%s\t
    4.DISTANCE COVERED-%d",s[i].name,s[i].driving_license,s[i].route,&s[i].kms);
    }
    return 0;
    }

  • @005_krishbhanderi2
    @005_krishbhanderi2 4 года назад +1

    i think shubham is your best friend

  • @MrSoaib123
    @MrSoaib123 Год назад

    Soaib aslam