Advertisement - Continue reading below

Definition of "malloc" [malloc]

  • A subroutine in the C programming language's standard library for performing dynamic memory allocation. (noun)
  • To allocate memory using the C programming language malloc subroutine. (verb)

Wiktionary.org : Text is available under the Creative Commons Attribution-ShareAlike License

Use "malloc" in a sentence
  • "This is analogous to the case of calling malloc (0), where the implementation is permitted to return a pointer to zero bytes."
  • "The C function alloc_object in the interpreter currently calls malloc for every object allocated and doesn't record anything about what memory has been allocated."
  • "A custom memory allocator should be usually written, because calling malloc () for a large number of small structures is suboptimal."