Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Practical C Programming

You're reading from   Practical C Programming Solutions for modern C developers to create efficient and well-structured programs

Arrow left icon
Product type Paperback
Published in Feb 2020
Publisher Packt
ISBN-13 9781838641108
Length 616 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
 Harwani Harwani
Author Profile Icon Harwani
Harwani
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Section 1: Kali Linux – Not Just for Penetration Testing
2. Chapter 1: Packt Chapter (H1 – Chapter) FREE CHAPTER 3. Chapter 2: Installing Kali Linux 4. Section 2: Forensic Fundamentals and Best Practices
5. Chapter 3: Understanding Filesystems and Storage Media 6. Chapter 4: Incident Response and Data Acquisition 7. Assessments 8. Other Books You May Enjoy

Chapter 9

  1. The stack is a relatively small segment of memory allocated by the compiler that keeps track of the memory necessary for running the application. The stack has LIFO semantics and grows and shrinks as the program execution is invoking functions or returning from functions. The heap, on the other hand, is a large segment of memory that the program may use to allocate memory at runtime, and which, in .NET, is managed by the CLR. Objects of value types are, typically, allocated on the stack, and objects of reference types are allocated on the heap.
  2. The managed heap has three memory segments called generations. They are named generation 0, 1, and 2. Generation 0 contains small, and usually short-lived, objects such as local variables or objects instantiated for the lifetime of a function call. Generation 1 contains small objects that have survived a garbage collection of memory from generation 0. Generation 2 contains long-lived small objects that have survived a garbage...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images