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

/*
 *
 * 
 *
 *
 */

int main () {

	int i = 0;
	int j = 0;
	int k = 0;
	j = ++i;
	k = i++;
	std::cout << i << " " << j << " " << k << std::endl;
	return 0;
}