summaryrefslogtreecommitdiff
path: root/4p15.cpp
blob: 7ac66d51c2b14fe3bc9741ddfe95f995abc52194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <iostream>

/*
 *
 * 4.15
 *
 *
 */

int main () {

	double dval;
	int ival;
	int *pi;
	/*
	ival = 0;
	dval = 0;
	pi = 0;

	I don't really see a reason not to do it this way but both of these examples work
	*/
	ival = dval = 0;
	pi = 0;
	std::cout << dval << ival << pi << std::endl;
	return 0;
}