Annotation of 42BSD/usr.lib/learn/C/L1.1f, revision 1.1

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.