summaryrefslogtreecommitdiff
path: root/tex/thesis/implementation/experiments/nested.c
blob: 6e40a508df3905a1ce0e44df7248c1826a8fb58c (about) (plain)
1
2
3
4
5
6
7
8
9
10
int nested() {
  int result = 0;
  for (int i = 0; i < 10; i = i + 1) {
    for (int j = 0; j < 10; j = j + 1) {
      result = result + 1;
    }
  }
  return result;
}