BSD 4_3_Tahoe release
[unix-history] / usr / lib / learn / C / L1.1f
CommitLineData
d6c1f319
C
1#print
2(Section 1.2)
3Write a program to print
4the value of the character 'X' in
5octal. Compile it and run it.
6Then type ready.
7#user
8a.out >test
9grep 130 test >/dev/null
10#succeed
11A possible solution:
12
13main()
14{
15 printf("%o\n", 'X');
16}
17#log
18#next
192.1a 10