Allocate memory for a linked list struct with or without casting?
7617
Do I cast the result of malloc?
83605
Which is faster: Stack allocation or Heap allocation
120347
How can I create a dynamically sized array of structs?
99095
C Linked List valgrind Invalid Read of Size
10150
Should I use static_cast or reinterpret_cast when casting a void* to whatever
21067
How do we use structs?
16173
Array versus linked-list
96925
Pass double pointer in a struct to CUDA
85305
How can I get the size of a memory block allocated using malloc()?
52362
Why does C++ require a cast for malloc() but C doesn't?
43526
Problems with understanding a linked list implementation
58713
When is it best to use the stack instead of the heap and vice versa?
156670
how to calculate size of pointer pointed memory?
91175
Checking Available Memory allocation in C#
48505
How to use a C++ string in a structure when malloc()-ing the same structure?
37967
Difference between 'struct' and 'typedef struct' in C++?
5367
In what cases do I use malloc and/or new?