blob: b73e575d29b0a33e1af039ae95aadb338582880e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#print
(Section 1.2)
Write a program to print
the value of the character 'X' in
octal. Compile it and run it.
Then type ready.
#user
a.out >test
grep 130 test >/dev/null
#succeed
A possible solution:
main()
{
printf("%o\n", 'X');
}
#log
#next
2.1a 10
|