| delorie.com/archives/browse.cgi | search |
| Message-ID: | <35A3F04C.636DC335@go.ro> |
| Date: | Thu, 09 Jul 1998 01:18:52 +0300 |
| From: | Radu Georgescu aka skoola <skoola AT go DOT ro> |
| X-Mailer: | Mozilla 4.5 [en] (Win95; I) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| Subject: | basic c question |
| Reply-To: | djgpp AT delorie DOT com |
let's say we ahve the following expresion:
if((a)&&(b)) {}
the compiler evaluates a or b first?
and does it optimize the evaluation, so if the first of them in 0, don't
bother about the other one?? (0&&1==0)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |