HP C A.06.05 Reference Manual
Type Conversions
Arithmetic Conversions
Chapter 482
In most cases, when an expression with array type is used, it is automatically converted to a
pointer to the first element of the array. As a result, array names and pointers are often used
interchangeably in C. This automatic conversion is not performed in the following contexts:
• When the array is the operand of sizeof or the unary &;.
• It is a character string literal initializing an array of characters.
• It is a wide string literal initializing an array of wide characters.