Article View: comp.lang.c.moderated
Article #2260Re: Good C Interview questions?
From: MCLEOD James William
Date: Wed, 13 Mar 1996 12:39
Date: Wed, 13 Mar 1996 12:39
20 lines
1128 bytes
1128 bytes
John Carr wrote: > (snip discussion on reverse array notation) > > Q: Which has higher precedence, + or |? > A: I don't remember, so I use parentheses. > (snip comment and agreement) I have to wonder, in what context would you want to mix arithmetic and bitwise operations? It strikes me that, with modern optimizing compilers, you will save NOTHING (except clarity :-]) by doing this. My answer would be, A: Who cares? The code is either flaky or unclear. Regards James McLeod mcleod@ecf.utoronto.ca
Technical Details
Message-ID:
<4i6fm9$oul@solutions.solon.com>Path:
arc1-ca.pugleaf.net!solon.com!not-for-mailReferences:
<4h2s1m$l8@solutions.solon.com> <4hv081$jdt@solutions.solon.com> <4hvvlg$op0@solutions.solon.com> <4i2jtp$8ge@solutions.solon.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail From: mcleod@ecf.toronto.edu (MCLEOD James William) Newsgroups: comp.lang.c.moderated Subject: Re: Good C Interview questions? Date: 13 Mar 1996 06:39:37 -0600 Organization: University of Toronto, Engineering Computing Facility Sender: clc@solutions.solon.com Approved: clc@solutions.solon.com Message-ID: <4i6fm9$oul@solutions.solon.com> References: <4h2s1m$l8@solutions.solon.com> <4hv081$jdt@solutions.solon.com> <4hvvlg$op0@solutions.solon.com> <4i2jtp$8ge@solutions.solon.com> NNTP-Posting-Host: solutions.solon.com X-Nntp-Posting-Host: spark15.ecf