05 Memory Segments Text,Data,Stack,Heap

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 39

  • @tsvmanojturlapati4492
    @tsvmanojturlapati4492 2 роки тому +16

    I honestly feel this : every btech cse student must see this video.
    Thanks a lot sir
    ALMIGHTY bless you with all kinds of wealth

  • @hashimsulaiman6003
    @hashimsulaiman6003 Рік тому +3

    ya it's the best explanation so far on the videos I have watched about c memory layouts thanks

  • @89Bostonian
    @89Bostonian Рік тому +1

    Amazing, love it!

  • @electronicgyankosh7942
    @electronicgyankosh7942 Рік тому +1

    Very good explanation ❤

  • @RakibAhmed-vn9hs
    @RakibAhmed-vn9hs 2 роки тому +4

    Take Respect and Love 😍💖

  • @sallaklamhayyen9876
    @sallaklamhayyen9876 2 роки тому +3

    Short + Simple + Clear + Understandable = Brilliant explanation thank you so much

  • @sandipnayak6885
    @sandipnayak6885 2 роки тому +1

    Hats off to your explanation brother

  • @vidyasagark2274
    @vidyasagark2274 4 роки тому +3

    very useful and simple explanation. thanks

  • @oudekraal7460
    @oudekraal7460 Рік тому +1

    Just what i need to know, no more and no less. a Must add subs list alligators.

  • @DoIt_Motivation
    @DoIt_Motivation Місяць тому

    Keep it up.

  • @adithyareddy3729
    @adithyareddy3729 3 роки тому +1

    Thank you for the wonderful explanation.

  • @sansclemens2340
    @sansclemens2340 2 роки тому +1

    Nice explaination

  • @yashu_goel
    @yashu_goel 3 роки тому +2

    Very well explained!!

  • @amitbankapur
    @amitbankapur 3 роки тому +1

    Thank u.. Great explanation

  • @yogeshbhure4476
    @yogeshbhure4476 2 роки тому +1

    Very well explained 👌🏻👍

  • @PramodKumarTrueFriend
    @PramodKumarTrueFriend 3 роки тому +1

    You are Excellent :)

  • @gayathripochampalli7478
    @gayathripochampalli7478 2 роки тому +1

    Good explainnation tq

  • @abdelrahmanal-mokhraty9198
    @abdelrahmanal-mokhraty9198 4 роки тому +2

    Best explanation ❤️

  • @69officialtournaments92
    @69officialtournaments92 3 роки тому +1

    thanks sir very useful information for me. thanks a lot for this video.

  • @roopaization
    @roopaization 2 роки тому +1

    Very well explained sir

  • @veercreation9111
    @veercreation9111 3 роки тому +1

    Best explained

  • @dragonhot6951
    @dragonhot6951 2 роки тому +1

    was useful

  • @codepoachers6870
    @codepoachers6870 3 роки тому +1

    very helpful!

  • @ajeetyadav1093
    @ajeetyadav1093 4 роки тому +2

    Thank you so much!

  • @EmanoelLucas8552
    @EmanoelLucas8552 3 роки тому +1

    Perfect!

  • @sureshk8421
    @sureshk8421 3 роки тому +2

    Very informative lecture, can u make more videos on pointers and data structures if possible

  • @prempresents8776
    @prempresents8776 Рік тому +1

    ❤️🌸

  • @user-hk4cu5go9c
    @user-hk4cu5go9c 4 місяці тому

    At 6:40, would variable b not be stored on the stack instead of the unitialised data segment since it is inside main() and the stack stores the local variables and function parameters of function calls?

  • @Mr_SSK
    @Mr_SSK 2 роки тому +3

    Realllly, you explained it very well!
    Keep going...
    Anyways, the audio quality was a bit of problematic, will sound good if it is fixed :)

  • @bakeronews1
    @bakeronews1 6 місяців тому

    Thanks!

  • @danielkrajnik3817
    @danielkrajnik3817 4 роки тому +1

    6:30 you might have added somewhere whats the benefit of un- and initialized segments

  • @wealthmaster69
    @wealthmaster69 2 роки тому +1

    Mic quality is so bad but thanks for content!

  • @sivaprasad876
    @sivaprasad876 2 роки тому +1

    please check with compiler...
    local variables are store in stack not in bss....

    • @vijay10june
      @vijay10june  2 роки тому +1

      Local variables are stored in stack segment on stack frame. But what if, its a static local variable? It wont be stored on stack since, the scope is local but the lifetime of the variable is during the execution of the code. So, It should be stored on Data Segment - BSS segment.
      I would like to know your thoughts on the same! Appreciate your input.

    • @zoquevil4792
      @zoquevil4792 2 роки тому

      @@vijay10june can you please talk more about where the command line arguments will get stored in memory , the part that you called "Environment? thanks

  • @jevsdisjava
    @jevsdisjava 3 роки тому +1

    How all that memory layers get splitted by paging and virtual memory segmentation ?

    • @coderhex1675
      @coderhex1675 9 місяців тому

      search for MMU unit in an application processor (for example broadcomm or nxp arm processor)

  • @devaarjunanb5030
    @devaarjunanb5030 28 днів тому

    In the first example you said the local variables go to the data section... In the second example you said the local variables go to stack.. I am confused here

    • @vijay10june
      @vijay10june  27 днів тому

      Local variables if declared static then the scope is at functional block but, lifetime of variable is throughout the execution of program.
      Hence, static local variable is stored in Data Section & local variable are stoared in stack frame of function call in stack Section. 😊