Deutsch English Français Italiano |
<uu4bu4$3nrfa$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.lang.c Subject: Re: while(T[l]<p & l<=r) Date: Thu, 28 Mar 2024 19:12:20 +0100 Organization: A noiseless patient Spider Lines: 14 Message-ID: <uu4bu4$3nrfa$2@dont-email.me> References: <uu109u$3798b$1@i2pn2.org> <uu3kqb$3i23g$1@dont-email.me> <kXeNN.99578$24ld.63941@fx07.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 28 Mar 2024 18:12:20 +0100 (CET) Injection-Info: dont-email.me; posting-host="0a08a487bba2a74163287f88a6183244"; logging-data="3927530"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uMppjWxU4AvEdVh/yXykSC84E0gQBpW8=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:WO1b6q/w9AawRJUYPJPervWVu5o= In-Reply-To: <kXeNN.99578$24ld.63941@fx07.iad> Content-Language: en-GB Bytes: 1582 On 28/03/2024 15:14, Scott Lurndal wrote: > Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes: >> On 27.03.2024 12:35, fir wrote: >>> tell me, is while(T[l]<p & l<=r) the same as while((T[l]<p)&&(l<=r)) >> >> 1. As long as K&R precedences still hold you don't need the inner >> parentheses; '<' and '<=' has higher precedence than '&' and '&&'. > > While true, the parenthesis can be helpful to the reader > and have no adverse effects. > A couple of space characters would also not go amiss in aiding the reader.