Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 668 Bytes

File metadata and controls

24 lines (22 loc) · 668 Bytes
title Pointer Subtraction | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-language
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
pointer subtraction
ms.assetid 4d515690-088a-43f6-bb8c-57b849f7ccf7
caps.latest.revision 6
author mikeblome
ms.author mblome
manager ghogen

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.

See Also

Arrays and Pointers