Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 637 Bytes

allocating-zero-memory.md

File metadata and controls

16 lines (12 loc) · 637 Bytes
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Allocating Zero Memory
Allocating Zero Memory
11/04/2016
memory allocation, zero memory
zero memory
768f2ab9-83a1-4887-8eb5-c094c18489a8

Allocating Zero Memory

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.

See also

Library Functions