description | title | ms.date | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|
Learn more about: Allocating Zero Memory |
Allocating Zero Memory |
11/04/2016 |
|
768f2ab9-83a1-4887-8eb5-c094c18489a8 |
ANSI 4.10.3 The behavior of the calloc
, malloc
, or realloc
function if the size requested is zero
The calloc
, malloc
, and realloc
functions accept zero as an argument. No actual memory is allocated, but a valid pointer is returned and the memory block can be modified later by realloc.