StackOverflow Questions for Tag: dynamic-memory-allocation

M. Saamin Rahman
M. Saamin Rahman

Reputation: 43

How memory address for pointer to arrays is same as an element in 2D array?

Score: 4

Views: 96

Answers: 3

Read More
Viliam Holly
Viliam Holly

Reputation: 182

How do I resolve the recursive dependency in my page frame allocator (custom OS)?

Score: 1

Views: 42

Answers: 0

Read More
user98967885655
user98967885655

Reputation: 1

How to dynamically create multiple instances of struct in loop in C?

Score: 0

Views: 92

Answers: 2

Read More
tr41z
tr41z

Reputation: 43

Proper Memory Handling for User Input in C

Score: 4

Views: 171

Answers: 2

Read More
wildcat
wildcat

Reputation: 71

Why is copying more efficient in Zig remap?

Score: 0

Views: 80

Answers: 1

Read More
yuvi
yuvi

Reputation: 1092

How does the compiler control help in allocating & deallocating memory in C++?

Score: 4

Views: 207

Answers: 3

Read More

How to manage memory for chained array operations in C?

Score: 4

Views: 125

Answers: 2

Read More
BB_bUrns
BB_bUrns

Reputation: 11

Why does realloc(NULL, size) call my malloc wrapper, but realloc(ptr, 0) does not call my free wrapper?

Score: 0

Views: 106

Answers: 2

Read More
Mr. Nicky
Mr. Nicky

Reputation: 1669

C++: Does vector of pointer elements automatically deallocate dynamic memory pointed by each pointer upon destruction?

Score: 0

Views: 731

Answers: 4

Read More
Asim Roy
Asim Roy

Reputation: 10226

Heap Memory Stair-Case rising in SwiftUI project

Score: 0

Views: 102

Answers: 0

Read More
user20948039
user20948039

Reputation:

Segmentation fault when reallocating a variable in C

Score: 0

Views: 84

Answers: 1

Read More
Mr BaW
Mr BaW

Reputation: 39

String appearing "broken" into parts after being printed in C code

Score: 1

Views: 64

Answers: 1

Read More
Osniel Teixeira
Osniel Teixeira

Reputation: 60

Dynamic array first element remove complexity

Score: 0

Views: 92

Answers: 2

Read More
shubham kakade
shubham kakade

Reputation: 19

How is memory allocated to class object and it's data members in C++

Score: 0

Views: 153

Answers: 2

Read More
Anon26
Anon26

Reputation: 41

How to fix a C Program bug, preventing Multiple File Creations in a single execution?

Score: 4

Views: 132

Answers: 2

Read More
9-Pin
9-Pin

Reputation: 436

Freeing a dynamically allocated string with an internal null byte

Score: 0

Views: 100

Answers: 2

Read More
greenlagoon
greenlagoon

Reputation: 121

Are objects created with new guaranteed to stay in the same memory location? If so, does new place things to minimize cache misses & fragmentation?

Score: 1

Views: 160

Answers: 1

Read More
user720694
user720694

Reputation: 2075

realloc() invalid old size

Score: 9

Views: 28105

Answers: 5

Read More
Synex
Synex

Reputation: 213

New Operator with and without Parentheses

Score: -2

Views: 104

Answers: 1

Read More
user20844
user20844

Reputation: 6667

How do I declare a 2d array in C++ using new?

Score: 649

Views: 1290252

Answers: 29

Read More
PreviousPage 1Next