🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2886

Re: int / int ?

#2886
From: Tony Street
Date: Sun, 29 Nov 1998 00:00
18 lines
1598 bytes
Chris Marriott wrote in message
<912357376.6545.0.nnrp-03.9e9809e7@news.demon.co.uk>...
>
>Will Rose wrote in message <912351722.217465@optional.cts.com>...
>>The operations * and / are both left-associative, so 5 * 3 / 2 comes
>>to 7, and 5 / 2 * 3 comes to 6.
>
>
>If you don't use parentheses to force the order of evaluation, does the C
>language guarentee left-to-right evaluation? I don't have a copy of the
>language reference at hand to check.

Yes..... the C language will follow all precedence rules, all the time..

--
Tony Street
email: sas9559@diespammers.rit.edu (spam me not - remove antispam portion)
Origin: Earth, 43�05'N 77�39'W 178m ASL (Rochester Institute of Technology)
Technical Details
Message-ID: <36618e67.0@isc-newsserver.isc.rit.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <366155E6.632A909D@erols.com> <912351722.217465@optional.cts.com> <912357376.6545.0.nnrp-03.9e9809e7@news.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f8d38,7450d421b142666f
X-Google-Attributes: gidf8d38,public
X-Google-Thread: 1014db,7450d421b142666f
X-Google-Attributes: gid1014db,public
X-Google-Thread: 105df1,7450d421b142666f
X-Google-Attributes: gid105df1,public
From: "Tony Street" <sas9559@diespammers.rit.edu>
Subject: Re: int / int ?
Date: 1998/11/29
Message-ID: <36618e67.0@isc-newsserver.isc.rit.edu>
X-Deja-AN: 416820866
X-NNTP-Posting-Host: 129.21.3.100
References: <366155E6.632A909D@erols.com> <912351722.217465@optional.cts.com> <912357376.6545.0.nnrp-03.9e9809e7@news.demon.co.uk>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Trace: 29 Nov 1998 13:11:51 -0500, d102-h009.rh.rit.edu
Organization: Rochester Institute of Technology
XPident: Unknown
Newsgroups: comp.os.ms-windows.programmer.misc,borland.public.cpp.language,comp.lang.c