【C】Pointer (7) About Object Type

※ 日本語ページはこちら

I will explain about object type.

Below is how spec says. If you go index, object is described in 3.1.4, object type is described in 6.2.5.

About Object


region of data storage in the execution environment, the contents of which can represent values

NOTE When referenced, an object may be interpreted as having a particular type; see

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

To understand above, I recommend to understand exact definition of value in C language.

Please refer below articles for value.

Lets’ condense and complement.

Object exist in data storage (memory, cache , register,etc) when C programs run in the execution environment. The contents of object may mean values.

If you have time, it may be worth for reading, but I skip this time.

Object Type

Explained below.

6.2.5 Types

… object types (types that fully describe objects)

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

Simple enough if we understand object.

That’s all for this time.