//1 if(condition) { statement(s); } else { statement(s); } //2 (condition) ? (true_statement) : (false_statement)
// C program to illustrate If statement #include int main() { int i = 20; if (i < 15){ printf("i is smaller than 15"); } else{ printf("i is greater than 15"); } return 0; }