Liste des Groupes | Revenir à cl c |
On Sun, 07 Jul 2024 15:17:34 -0700Not even something like:
Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>Pointer: I very rarely use NULL.
I just about always use NULL, not 0, when I want a null pointer
constant. Similarly, I use '\0', not 0, when I want a null character,
0.0 when I want a floating-point zero, and false when I want a Boolean
zero. I just like being explicit.
>
Character: I never use '\0'.
Floating point: I never use 0.0.
Boolean: I use false much more often than 0.
Les messages affichés proviennent d'usenet.