|
|
1.1 root 1:
2:
3: else C Keyword else
4:
5:
6:
7:
8: Introduce a conditional statement
9:
10:
11: else is the flip side of an if statement: if the condition
12: described in the if statement fails, then the statements intro-
13: duced by the else statement are executed. For example,
14:
15:
16: if (getchar() == EOF)
17: exit(0);
18: else
19: dosomething();
20:
21:
22: exits if the user types EEOOFF, but does something if the user types
23: anything else.
24:
25: ***** See Also *****
26:
27: C keywords, if
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.