Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Two different Results between C and C++ Date: Tue, 02 Jun 2020 12:59:27 -0700 Organization: None to speak of Lines: 18 Message-ID: <877dwpw868.fsf@nosuchdomain.example.com> References: <4ccefcca-1bde-44f7-a7b7-694476dacc64@googlegroups.com> <87k10pwi1c.fsf@nosuchdomain.example.com> <87ftbdwbat.fsf@nosuchdomain.example.com> <87eeqxntg7.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="2b720ada2beb0fb974b5f9a3cdd89767"; logging-data="9391"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cfVBmBtF5bKvdo/IsOBLc" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cancel-Lock: sha1:zEUBXv5TveDIWQAkbpD176gCiqE= sha1:Bk3jkrDRfM1rNWbN0j24hJF2IB4= Xref: csiph.com comp.lang.c:152615 Ben Bacarisse writes: > Keith Thompson writes: >> And just to add to the frivolity, the macros "false" and "true" >> in expand to 0 and 1, respectively, which are of type >> _Bool, not int. > > Surely it's the other way round -- they expand to the integer constants > 0 and 1. Yes, of course. My brain flipped a bit somewhere. The macro false expands to 0, which is of type int. The macro true expands to 1, which is of type int. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips Healthcare void Void(void) { Void(); } /* The recursive call of the void */