aboutsummaryrefslogtreecommitdiff
path: root/test/indented-triple-pass/2=program.markdown
blob: 38b3ee9889fc4eb3cbde92cf99cac9c2056b1234 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# My program -> program.c

    char *line;
    int line_length;
    int line_size;
    int main(int argc, char *argv[]) {
      int i;
      for (i = 1; i < argc; i++)
        ...
      ...
    }

## Main function -> main

Here is the main function:

    int main(int argc, char *argv[]) {
      int i;
      for (i = 1; i < argc; i++)
        ...
      ...
    }

### Command-line options -> main.options

    for (i = 1; i < argc; i++)
      ...

### Declarations -> declarations

So far, we have used the following global variables:

    char *line;
    int line_length;
    int line_size;