Article View: comp.lang.c
Article #1336Re: Rationales for result type of operations using operators like '+='
From: bartc
Date: Thu, 05 Nov 2026 14:15
Date: Thu, 05 Nov 2026 14:15
13 lines
1581 bytes
1581 bytes
On 05/11/2026 12:22, David Brown wrote: > On 05/11/2026 13:17, bartc wrote: >> It is problematical in C too: >> >> int a = 1000; >> unsigned b = 200; > > Just to be clear - you meant "unsigned char b = 200;" here? Yes.
Technical Details
Message-ID:
<11ci32d$1m8oc$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11ceoa2$85p3$3@dont-email.me> <11chs5e$1jlqr$1@dont-email.me> <11chseq$1jmfe$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: bartc <bc@freeuk.com> Newsgroups: comp.lang.c Subject: Re: Rationales for result type of operations using operators like '+=' Date: Thu, 5 Nov 2026 14:15:42 +0000 Organization: A noiseless patient Spider Lines: 13 Message-ID: <11ci32d$1m8oc$1@dont-email.me> References: <11ceoa2$85p3$3@dont-email.me> <11chs5e$1jlqr$1@dont-email.me> <11chseq$1jmfe$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 05 Nov 2026 14:15:41 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1778444"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+KsfliiMvK5VfLJnbW5j3Y"; posting-host="36d55d013f0977f923261808ebce6f18" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:wUQ7YLFQBw4R6VLBMz4T57BRyjA= sha256:uPCwNX+R6Xa14lJNg3yIu+2JcDAchm1FXTI2TtgpI9s= sha1:sUGlBJbxXPdOwmi9ADQHdC73S9o= sha256:bzm2Wt/BACFQhw+tA17I8l3eEPNE4b4P+XxV6eiSGHY= In-Reply-To: <11chseq$1jmfe$1@dont-email.me> Content-Language: en-GB