COHERENT manpages
This page displays the COHERENT manpage for if [Introduce a conditional statement].
List of available manpages
Index
if -- C Keyword
Introduce a conditional statement
if is a C keyword that introduces a conditional statement. For example,
if (i==10)
dosomething();
will dosomething only if i equals ten.
if statements can be used with the statements else if and else to create a
chain of conditional statements. Such a chain can include any number of
else if statements, but only one else statement.
See Also
C keywords,
else
ANSI Standard, §6.6.4.1