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

/*
 *
 * 5.1
 *
 *
 */

int main () {

	// A null statement is just a semicolon ;
	// For example, we can use it for a while loop (while loops require a statement) if the condition can do all the work in the loop.
	int i = 0;
	while (i++ != 10)
		;
	return 0;
}