Pointer Subtraction
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at 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
A ptrdiff_t is a signed int.
Show: