Search code examples
First char* filled with junk characters when I put many words in my string split function...

csplitchardynamic-memory-allocationc-strings

Read More
Copy elements of int * * array (2D) to another 2D array...

cmultidimensional-arraycopydynamic-memory-allocationmemcpy

Read More
Use realloc() in function...

arrayscfunctiondynamic-memory-allocationdynamic-arrays

Read More
What is the easiest way to dynamically allocate memory for 2d array?...

cmultidimensional-arraydynamic-memory-allocation

Read More
difference between sizeof *ptr and sizeof **ptr when allocating memory...

cdynamic-memory-allocationsizeofdereferencepointer-to-member

Read More
Bridging struct initializations on the heap (when using Dynamically Allocated Memory) to struct init...

cstructinitializationdynamic-memory-allocationallocation

Read More
LeetCode 189 Rotate Array: heap-buffer-overflow...

calgorithmlinked-listdynamic-memory-allocation

Read More
Why does cs50's "Volume" lab use a single variable "buffer" in fread() inste...

cmemorydynamic-memory-allocationcs50fwrite

Read More
Printing the complete size of char*...

arrayscpointersdynamic-memory-allocationshellcode

Read More
Delete data from a dynamically allocated array in c++...

c++arraysdynamic-memory-allocation

Read More
A class with a pointer pointing to another class as a member variable and pushing it into vector...

c++heap-memorydynamic-memory-allocationstack-memoryshallow-copy

Read More
When and why to use malloc...

cmallocdynamic-memory-allocation

Read More
Memory not freed after calling free - C...

cmallocdynamic-memory-allocation

Read More
I'm Getting error while trying to delete heap allocated int...

c++classmemory-managementruntime-errordynamic-memory-allocation

Read More
Can a memory address tell you anything about how/where the object is stored...

pointersmemoryheap-memorydynamic-memory-allocationmemory-address

Read More
Struct array in c gives the same value to all values. [C]...

arrayscstructdynamic-memory-allocationc-strings

Read More
Why is freeing the memory after printing the string messing up the print result?...

arrayscstringdynamic-memory-allocation

Read More
C malloc giving pointer to already used memory...

cmemorystructheap-memorydynamic-memory-allocation

Read More
How do I allocate a slice in Rust with a slice known at runtime?...

rustslicedynamic-memory-allocation

Read More
Looking for a custom memory allocator which allocates from within a large pre-allocated block of mem...

cdynamic-memory-allocationpaging

Read More
can't access some elements in malloc generated 2D array...

cmultidimensional-arraymallocdynamic-memory-allocationsizeof

Read More
Valgrind "Invalid write of size 8" error after malloc...

cmemory-leaksvalgrinddynamic-memory-allocationstrtok

Read More
How to create a runtime variable-size array efficiently in C++?...

c++dynamic-memory-allocationdynamic-arrays

Read More
A 2D array reallocation in C...

c2ddynamic-memory-allocationrealloc

Read More
A question about malloc implementation in glibc...

linuxmultithreadingmallocdynamic-memory-allocationglibc

Read More
Understanding how freeing a head allocated pointer in structures work in C...

cmemory-leaksnodesdynamic-memory-allocationfree

Read More
Is my understanding of memory allocation and page size right?...

clinuxmallocheap-memorydynamic-memory-allocation

Read More
Assigning values to flexible array member of struct in C...

cmemorystructdynamic-memory-allocationflexible-array-member

Read More
How can I change the size of an array inside a function?...

cstructpass-by-referencedynamic-memory-allocationrealloc

Read More
multiple matrices allocation in fortran...

matrixfortrandynamic-memory-allocation

Read More
BackNext