description | title | ms.date | helpviewer_keywords | ms.assetid | |
---|---|---|---|---|---|
Learn more about: Pointer Subtraction |
Pointer Subtraction |
11/04/2016 |
|
4d515690-088a-43f6-bb8c-57b849f7ccf7 |
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
.