【C】Pointer (13) Pointer in C Standard ①

※ 日本語ページはこちら

In previous article, I showed below by reading standard of C language.

– A pointer type may be derived from a function type, an object type, or an incomplete type, called the referenced type.

A pointer type describes an object whose value provides a reference to an entity of the referenced type.

A pointer type derived from the referenced type T is sometimes called ‘‘pointer to T’’.

The construction of a pointer type from a referenced type is called ‘‘pointer type derivation’’.

These methods of constructing derived types can be applied recursively.

ref: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf#page=48

For detail, please refer below.

I think that the reason “A pointer type may be derived from a function type, an object type, or an incomplete type, called the referenced type”. which makes difficult to understand is, too many unfamiliar types are used to explain this.

Therefore lets condense it.

A pointer type may be derived from a function type, an object type, or an incomplete type, called the referenced type.

A pointer type may be derived from a different type.

In short, pointer type exists based on other types’ existence. If you understand above, it is enough to understand pointer.

If you would like to understand function type, object type and incomplete type, please refer below.

That’s all for this time.