Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Only a compile-time constant zero. So

    assert(NULL == (void *)0);
is fine, but

    int x = 0;
    assert(NULL == (void *)x);
is not.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: