Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in dynamic-memory-allocation

Java array initialization with zero size

The array is static, but the array size isn't know until runtime. How is this possible?

Are there any advantages to using calloc() instead of a malloc() and memset()?

What happens to memory after free()?

realloc() invalid old size

Allocating struct with variable length array member

How to declare a variable size 2D array in C?

Do memory allocation functions indicate that the memory content is no longer used?

Default capacity of std::string?

Is Big-O of the C++ statement 'delete [] Q;' O(1) or O(n)?

Dynamic Zero-Length Arrays in C++

In C++, can new in one thread allocate the memory deleted by another thread?

C Programming - How often should realloc be used?

Simple C implementation to track memory malloc/free?

What would realloc do if there is no sequential space of memory?

Possible memory leak without a virtual destructor?

Malloc function (dynamic memory allocation) resulting in an error when it is used globally

Dynamic memory allocation question

STL within embedded system with very limited memory

When should i use calloc over malloc