Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 578 Bytes

File metadata and controls

16 lines (12 loc) · 578 Bytes
description Learn more about: Pointer Subtraction
title Pointer Subtraction
ms.date 11/04/2016
helpviewer_keywords
pointer subtraction
ms.assetid 4d515690-088a-43f6-bb8c-57b849f7ccf7

Pointer Subtraction

ANSI 3.3.6, 4.1.1 The type of integer required to hold the difference between two pointers to elements of the same array, ptrdiff_t

The ptrdiff_t typedef is an int on the 32-bit x86 platform. On 64-bit platforms, the ptrdiff_t typedef is an __int64.

See also

Arrays and Pointers