summaryrefslogtreecommitdiff
path: root/tex/thesis/implementation/experiments/counter.c
blob: ebd6ff0ec8e263168c4ec66855f569b9febbefea (about) (plain)
1
2
3
4
5
6
7
8
9
10
int counter() {
  /* A */
  int i = 0;
  while (/* B */i < 100) {
    i = i + 1;
  }
  /* C */
  return i;
}