In C programming, if and else are used to make decisions.
if (i == 1) printf("i is 1.") else printf("i is not 1.")
If the value of i is other than 1, the output will be :
i is not 1
In C programming, if and else are used to make decisions.
if (i == 1) printf("i is 1.") else printf("i is not 1.")
If the value of i is other than 1, the output will be :
i is not 1