if Statement in C — a practical guide to C if statement with clear examples you can reuse in real projects.
C Programming Tutorial Series (28/102). Prefer one article? Read the complete C programming tutorial.
Short description
Non-zero is true in C.
if
if (score >= 50) {
printf("Passn");
}