#define L_DOWN !L_UP

Gast #2990109
Lesenswert?

Peter II schrieb:
> ja ist es. (keine Ahnung wo genau)

ISO/IEC 9899:201x: 6.5.3.3 Unary arithmetic operators. Semantics Nr. 5 
(Seite 79):
"The result of the logical negation operator ! is 0 if the value of its 
operand compares unequal to 0, 1 if the value of its operand compares 
equal to 0. The result has type int. The expression !E is equivalent to 
(0==E)."

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren