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 09:26:23 -0700 Organization: None to speak of Lines: 12 Message-ID: <87k10pwi1c.fsf@nosuchdomain.example.com> References: <4ccefcca-1bde-44f7-a7b7-694476dacc64@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="2b720ada2beb0fb974b5f9a3cdd89767"; logging-data="20815"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zpIu4n5xs63NAa2ktcFGD" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cancel-Lock: sha1:tWvQzdR5AK7Dc74Z/vKSy3DvbwY= sha1:6wyd1xzz8NxFarKQPzwRULIzy+M= Xref: csiph.com comp.lang.c:152599 mark.bluemel@gmail.com writes: [...] > (1!=1) is a C boolean value, which is an int. Not exactly. C does have a boolean type, called _Bool (or bool if you've included . But equality and comparison operators yield values of type int, not of type bool. -- 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 */