Write a program that will read the first character
from its input and print it out in octal.
Compile it, test it, and then type ready.
printf("%o\n", getchar());
Remember that you can use a function value almost
any place that you could use a variable like x.
Thus many times there's no need for extra variables.