|
|
1.1 root 1:
2:
3: pun Definition pun
4:
5:
6:
7:
8: In the context of C, a pun occurs when a programmer uses one data
9: form interchangeably with another. A pun most often occurs unin-
10: tentionally when the programmer fails to declare a function as
11: returning a pointer; by default, what the function returns is as-
12: sumed to be an int, and is handled as such. No trouble will
13: arise if the program is run on a machine that defines an int and
14: a pointer to have the same length (e.g., i8086 SMALL model);
15: however, such code cannot be transported to an environment in
16: which this is not the case (e.g., i8086 LARGE model).
17:
18: ***** See Also *****
19:
20: definitions, pointer, portability
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.