Equality and Relational Operators
Do not mix up == and =.
Zero -- false; non-zero values -- true.
if (123)
printf("Hello!\n");
if (7+3)
printf("Hello!\n");
Previous slide
Next slide
Back to first slide
View graphic version