1. 3
  1.  

  2. 3

    While technically true now (often the best kind of true), newer versions of POSIX will indeed mandate the all-zero bit-pattern for NULL.

    Best to use memset() and calloc() since you’re more likely to get them right than the proposed contortion.