T
thibault volpert
Hi everybody.
I took a look to the faq at
<http://www.eskimo.com/~scs/C-faq/top.html>
but i did not find the answer to my question.
So here is the question : Is it legal to use malloc(size) with size==0
?
If so i would expect malloc() to return a NULL pointer, is it true ?
Thanks
I took a look to the faq at
<http://www.eskimo.com/~scs/C-faq/top.html>
but i did not find the answer to my question.
So here is the question : Is it legal to use malloc(size) with size==0
?
If so i would expect malloc() to return a NULL pointer, is it true ?
Thanks