Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in malloc
sizeof('\0') null terminator as literal is four bytes but how come in string of characters it takes only one byte?
Jun 16, 2026
c
malloc
c-strings
sizeof
null-terminated
Reassigning null pointers
Jun 16, 2026
c
pointers
initialization
malloc
null-pointer
How to create a new char* in standard C
Jun 13, 2026
c
memory
malloc
arrays
strlen
malloc in Release vs Debug (VC 2012)
Jun 12, 2026
c
malloc
C++ dynamic allocation program crashes
Jun 11, 2026
c++
malloc
Segmentation fault when replacing `malloc`, `calloc`, `realloc` and `free` via `LD_PRELOAD`
Jun 10, 2026
c
linux
malloc
x86-64
ld-preload
C Not sure what to free properly
Jun 09, 2026
c
memory
linked-list
malloc
Pointer to pointer in parameter in C
Jun 07, 2026
c
function
pointers
parameters
malloc
Initializing a pointer at declaration time in a C struct
Jun 08, 2026
c
pointers
struct
malloc
How to avoid memory leak when passing function-returned pointer as input to other function?
Jun 04, 2026
c
matrix
malloc
dynamic-memory-allocation
Array of pointers to structs - why is malloc() required, why is direct field copies required?
Jun 02, 2026
c
pointers
struct
malloc
How to create a dynamic array of strings in C using malloc
May 31, 2026
c
arrays
malloc
realloc
Is it safe to call free on std::string_view::data?
Jun 01, 2026
c++
malloc
c-strings
free
string-view
malloc(sizeof(s)) allocates less memory than expected?
May 29, 2026
c
malloc
What does allocating memory of size char * do?
May 26, 2026
c
pointers
malloc
dynamic-memory-allocation
allocation
Why does malloc ask for unreasonable amout of memory from sbrk. what can prevent it?
May 24, 2026
c
gcc
embedded
malloc
heap-memory
Can I 'reserve' memory somehow, so as to ensure malloc doesn't fail for this reason
May 23, 2026
c
memory-management
malloc
Malloc implementation with C
May 23, 2026
c
malloc
« Newer Entries
Older Entries »