When I do malloc(1), it allocates 8 spaces in a char*, and I have no idea why
5064
How to find the 'sizeof' (a pointer pointing to an array)?
85305
How can I get the size of a memory block allocated using malloc()?
80525
C - SizeOf Pointers
46346
What does that mean in c? char *array[]= { "**", "**", "**" };
77677
Allocate memory 2d array in function C
149225
Why is this causing a segmentation fault?
94252
How to determine the result of assigning multi-character char constant to a char variable?
72299
Using realloc to shrink the allocated memory
136822
Why does a C-Array have a wrong sizeof() value when it's passed to a function?
114892
Segmentation fault - char pointer
6718
In Objective-C, how does +alloc know how much memory to allocate?
123085
How to malloc inside a function and return pointer in C?
17416
Freeing allocated memory: realloc() vs. free()
63209
malloc an array of struct pointers
504
When and why will a compiler initialise memory to 0xCD, 0xDD, etc. on malloc/free/new/delete?
59005
When you exit a C application, is the malloc-ed memory automatically freed?
51685
How do I correctly set up, access, and free a multidimensional array in C?