Allocating zero bytes
suggest change// The allocation functions have implementation-defined behavior when the requested size
// of the allocation is zero.
void *p = malloc(0);
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents