Liste des Groupes | Revenir à cl c |
On 26.03.2025 12:33, David Brown wrote:
I can't think off-hand of any situation in which it would matter, but maybe others can. (It's also worth noting that there were changes in the way integer constants were typed between C90 and C99 - though usually the differences are harmless.)>Is that so? (Harmlessly asking.) - I mean, if I write int x = -5;
Even in C (in a desperate attempt to bring us back on topic for the
group), there are no negative integer constants - merely positive
integer constants with a unary minus operator applied.
does it matter (in "C") whether its parsed as <integer number> or
<negation> <positive number> ?
I faintly recall a discussion, I think in context of exponentiation.Too late for that!
But I don't want to (re-)open a can of words...
Les messages affichés proviennent d'usenet.