Map
Index
Random
Help
th

Quote: in C++, pointer arithmetic is defined only within an array; the difference of two pointers is the number of array elements between them

topics > all references > references sa-sz > QuoteRef: stroB_1991 , p. 57



Topic:
arrays
Topic:
pointers to data

Quotation Skeleton

Subtraction of [C++] pointers is defined only when … ensuring that is the case). When subtracting one … integer). One can add an integer to a … the result is a pointer value. If that … the result of using that value is undefined. …   Google-1   Google-2

Copyright clearance needed for quotation.


Related Topics up

Topic: arrays (57 items)
Topic: pointers to data (55 items)

Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.