|
|
coherent
else C Keyword else
Introduce a conditional statement
else is the flip side of an if statement: if the condition
described in the if statement fails, then the statements intro-
duced by the else statement are executed. For example,
if (getchar() == EOF)
exit(0);
else
dosomething();
exits if the user types EEOOFF, but does something if the user types
anything else.
***** See Also *****
C keywords, if
COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.