I
Irrwahn Grausewitz
In C, there is no technical term "object",
Of course there is. References: C99 3.14, C89 1.6
but he means anything which
occupies memory can be pointed at. Any code (a function, individual CPU
instructions)
C has no notion of CPU instructions. In C objects and functions are
quite different beasts. For example
- function types are distinct from object types.
- function code does not necessarily reside in data storage area,
thus pointers to objects and pointers to functions are not
portably interchangeable
- application of the sizeof operator to a function designator is a
constraint violation.
- ...
^^^^^^^^^^^^^^^^^^^or data (a simple int, char; an array; a struct or union; a
block of malloc'd memory) can be pointed at.
Better: ... can be designated by an lvalue.
<stuff not related to the definition of objects in C snipped>