|
|
|
|
|
by astrange
713 days ago
|
|
> The malloc function allocates space for an object whose size is specified by size and whose value is indeterminate. > The lifetime of an allocated object extends from the allocation until the deallocation. Each such allocation shall yield a pointer to an object disjoint from any other object. A static array is "an object" already. A pointer to the middle of it is not a new object. |
|