Thursday, January 29, 2009

You have the following line in a C program:

#include
and you compile the program.
Given the scenario described above, how is the line parsed?

Choice a : The linker resolves the symbols in stdio.h and links it with the overall program.

Choice b : The preprocessor creates pointers to stdio.h.

Choice c : The compiler creates lexically local variables definitions stored in stdio.h.

Choice d : The compiler allocates a name space for the symbols stored in stdio.h.

Choice e : The preprocessor replaces the line with the contents of stdio.h.

No comments: