Keil Logo

Arrays and pointers

14.8 Arrays and pointers

Describes implementation-defined aspects of the ARM C compiler and C library relating to arrays and pointers, as required by the ISO C standard.

The following statements apply to all pointers to objects in C and C++, except pointers to members:
  • Adjacent bytes have addresses that differ by one.
  • The macro NULL expands to the value 0.
  • Casting between integers and pointers results in no change of representation.
  • The compiler warns of casts between pointers to functions and pointers to data.
  • The type size_t is defined as unsigned int.
  • The type ptrdiff_t is defined as signed int.
Non-ConfidentialPDF file icon PDF versionARM DUI0375H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.