Deutsch English Français Italiano |
<v6ha41$vkip$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com> Newsgroups: comp.lang.c Subject: Re: question about nullptr Date: Mon, 8 Jul 2024 20:11:13 +0200 Organization: A noiseless patient Spider Lines: 11 Message-ID: <v6ha41$vkip$2@dont-email.me> References: <v6bavg$3pu5i$1@dont-email.me> <20240706054641.175@kylheku.com> <v6bfi1$3qn4u$1@dont-email.me> <l9ciO.7$cr5e.2@fx05.iad> <877cdyuq0f.fsf@bsb.me.uk> <2ckiO.19403$7Ej.4487@fx46.iad> <87plrpt4du.fsf@bsb.me.uk> <9bCiO.7108$sXW9.3805@fx41.iad> <877cdwu9s1.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Mon, 08 Jul 2024 20:11:14 +0200 (CEST) Injection-Info: dont-email.me; posting-host="e8f46d957e9f280e7fe45b89a4a98e93"; logging-data="1036889"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18olxBW09J/cIOMakSakoa1" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:XJsFnqdZZMfREf8Pxb9zH9EsUBU= In-Reply-To: <877cdwu9s1.fsf@nosuchdomain.example.com> Bytes: 1645 On 08.07.2024 00:17, Keith Thompson wrote: > > 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. Same here. Absolutely. Janis