summaryrefslogtreecommitdiff
path: root/6p32.cpp
blob: 76d431cb1bc116eea3056e41569c596bd549db96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <iostream>

/*
 *
 * 6.32
 *
 *
 */

int &get(int *arry, int index) {
	return arry[index];
}

int main() {
	int ia[10];
	for (int i = 0; i != 10; ++i)
		get(ia, i) = i;
}