Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 637 Bytes

File metadata and controls

16 lines (12 loc) · 637 Bytes
description Learn more about: Allocating Zero Memory
title Allocating Zero Memory
ms.date 11/04/2016
helpviewer_keywords
memory allocation, zero memory
zero memory
ms.assetid 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