4 ms·
Am I missing something? && are || are short-circuiting operators in C, so in that example b and c won't always be called either.
by chaosite 4y ago
Am I missing something?
&& are || are short-circuiting operators in C, so in that example b and c won't always be called either.
- samatman 4y agoNo you're correct of course. I could go back and edit it to be & and |, but I think leaving the easy-for-a-noob to make mistake in actually illustrates the point better. It wasn't on purpose, my brain took a shortcut from the eager logical operators I work with more frequently.