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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for