What is the use of IF statement in C?
Similarly, you may ask, what is the function of IF statement explain with example? An if statement is a programming conditional statement that, if proved true, performs a function or displays information. Below is a general example of an if statement, not specific to any particular programming language.