summaryrefslogtreecommitdiff
path: root/6p41.cpp
blob: 2b3b61c3d20ccd46ff5f2dd6ca91b4b4cbbac57f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

/*
 *
 * 6.41
 *
 *
 */

char *init(int ht, int wd = 80, char bckgrnd = ' ') {

	if(ht || wd || bckgrnd) {}
	return 0;
}
int main () {

	// (A) illegal
	// (B) legal
	// (C) legal but not what the author intends, they think that the '*' will be the argument for bckgrnd when in reality the '*' character will be converted to an int
	return 0;
}