Hacker News new | ask | show | jobs
by cperciva 4316 days ago
Only a compile-time constant zero. So

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

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