05 Memory Segments Text,Data,Stack,Heap

  Рет қаралды 55,481

Vijay Vishwakarma

Vijay Vishwakarma

Күн бұрын

This video talks about Memory Segments of C Program
It will help to to understand how you C program variables are stored in memory and their lifetime.
It covers following topics
1. Process & Process Address Space
2. Text \ Code Segment
3. Data Segment
4. Heap Segment
5. Stack Segment
I will appreciate your comments & if you like the video then do subscribe to the channel & let me know which topic you would like to see on the channel on programming.
Vijay Vishwakarma
www.linkedin.com/in/vijay-vishwakarma-46324511
vijay.10june@gmail.com
#CProgramming #MemorySegment #LearnC #CTutorial #Programming

Пікірлер: 36
@tsvmanojturlapati4492
@tsvmanojturlapati4492 2 жыл бұрын
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 Жыл бұрын
ya it's the best explanation so far on the videos I have watched about c memory layouts thanks
@sallaklamhayyen9876
@sallaklamhayyen9876 2 жыл бұрын
Short + Simple + Clear + Understandable = Brilliant explanation thank you so much
@RakibAhmed-vn9hs
@RakibAhmed-vn9hs 2 жыл бұрын
Take Respect and Love 😍💖
@vidyasagark2274
@vidyasagark2274 3 жыл бұрын
very useful and simple explanation. thanks
@sansclemens2340
@sansclemens2340 2 жыл бұрын
Nice explaination
@electronicgyankosh7942
@electronicgyankosh7942 Жыл бұрын
Very good explanation ❤
@gayathripochampalli7478
@gayathripochampalli7478 2 жыл бұрын
Good explainnation tq
@oudekraal7460
@oudekraal7460 Жыл бұрын
Just what i need to know, no more and no less. a Must add subs list alligators.
@89Bostonian
@89Bostonian Жыл бұрын
Amazing, love it!
@Mr_SSK
@Mr_SSK 2 жыл бұрын
Realllly, you explained it very well! Keep going... Anyways, the audio quality was a bit of problematic, will sound good if it is fixed :)
@sandipnayak6885
@sandipnayak6885 2 жыл бұрын
Hats off to your explanation brother
@adithyareddy3729
@adithyareddy3729 3 жыл бұрын
Thank you for the wonderful explanation.
@69officialtournaments92
@69officialtournaments92 3 жыл бұрын
thanks sir very useful information for me. thanks a lot for this video.
@roopaization
@roopaization 2 жыл бұрын
Very well explained sir
@dragonhot6951
@dragonhot6951 2 жыл бұрын
was useful
@yashu_goel
@yashu_goel 3 жыл бұрын
Very well explained!!
@amitbankapur
@amitbankapur 3 жыл бұрын
Thank u.. Great explanation
@prempresents8776
@prempresents8776 Жыл бұрын
❤️🌸
@veercreation9111
@veercreation9111 2 жыл бұрын
Best explained
@abdelrahmanal-mokhraty9198
@abdelrahmanal-mokhraty9198 3 жыл бұрын
Best explanation ❤️
@PramodKumarTrueFriend
@PramodKumarTrueFriend 3 жыл бұрын
You are Excellent :)
@yogeshbhure4476
@yogeshbhure4476 2 жыл бұрын
Very well explained 👌🏻👍
@ajeetyadav1093
@ajeetyadav1093 4 жыл бұрын
Thank you so much!
@bakeronews1
@bakeronews1 3 ай бұрын
Thanks!
@sureshk8421
@sureshk8421 3 жыл бұрын
Very informative lecture, can u make more videos on pointers and data structures if possible
@EmanoelLucas8552
@EmanoelLucas8552 3 жыл бұрын
Perfect!
@user-hk4cu5go9c
@user-hk4cu5go9c Ай бұрын
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?
@codepoachers6870
@codepoachers6870 3 жыл бұрын
very helpful!
@wealthmaster69
@wealthmaster69 2 жыл бұрын
Mic quality is so bad but thanks for content!
@danielkrajnik3817
@danielkrajnik3817 3 жыл бұрын
6:30 you might have added somewhere whats the benefit of un- and initialized segments
@sivaprasad876
@sivaprasad876 2 жыл бұрын
please check with compiler... local variables are store in stack not in bss....
@vijay10june
@vijay10june 2 жыл бұрын
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 жыл бұрын
How all that memory layers get splitted by paging and virtual memory segmentation ?
@coderhex1675
@coderhex1675 6 ай бұрын
search for MMU unit in an application processor (for example broadcomm or nxp arm processor)
06 Pointer   Getting Started
12:36
Vijay Vishwakarma
Рет қаралды 1,2 М.
Pointers and dynamic memory - stack vs heap
17:26
mycodeschool
Рет қаралды 1,4 МЛН
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 12 МЛН
Segmented, Paged and Virtual Memory
7:48
Computer Science (Kevin Drumm)
Рет қаралды 245 М.
Understanding C program Compilation Process
6:04
HowTo
Рет қаралды 376 М.
Stack vs Heap Memory - Simple Explanation
5:28
Alex Hyett
Рет қаралды 234 М.
Comparing C to machine language
10:02
Ben Eater
Рет қаралды 5 МЛН
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 229 М.
Understanding Static, Stack, and Heap Memory Regions (Examples in C)
33:29
you will never ask about pointers again after watching this video
8:03
Stack vs Heap
11:08
Abdul Bari
Рет қаралды 133 М.
Understanding Allocations: the Stack and the Heap - GopherCon SG 2019
21:39