News for hackers. Stuff that matters.
Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha... by kevin_thibedeau on Monday May 15, 2023 @03:04PM (#35953056)
The address is still 3 which has valid applications. C is permissive enough to run on platforms that don't use address 0 for NULL. With pointer operations the compiler will change the encoding from 0 to that platform's NULL address.

  int *p = 0;
  intptr_t i = (intptr_t)p;
  
  if(i == 0) ... // Isn't always true

There are no comments on this comment yet.