Listing 4

/* Write to printer, using stdprn */

#include <stdio.h>

function()
        {
        int x, y, z;

        x = 5;
        y = 6;
        z = X + y;

        fprintf (stdprn, "The answer is %10d", z);
        }