CS 61C Quiz - Week 3-2-2: Thursday

Current time: Fri Aug 22 19:41:49 2025

Deadline: Thu Jul 8 11:00:00 2004

Name:
SID:
Login:cs61c-

Question 1:

K&R talks about the C preprocessor, but Figure 3.21 on page 156 of
COD doesn't mention it. What is the purpose of the C preprocessor?
What language is its input ? What is its ouput? If it were a separate
step in Figure 3.21, where would it be placed in the figure relative
to the other 4 steps?

Question 2:

Some earlier computers combined the first three steps of Figure 3.21
into one, with the compiler performing all the work of the assembler and
linker. What would be the impact on the C programmer if this were the
case?

Send a confirmation email to my class account.