You copied the Doc URL to your clipboard.

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.