oni-link
Results
3
comments of
oni-link
A faq for null pointers: http://c-faq.com/null/index.html. The problem with `if (ptr)` is answered in question 3.
> The C-faq is often 95% complete, and then stops just short of spelling out a crucial detail. Is it saying if NULL == 1, the compiler will resolve the...
@aktau, in your examples you use `sizeof(ret)`, which returns the size of the pointer `ret` and not the length of the string to which `ret` points. Only works for `ret=":return...