CSCI.4210 Operating Systems
Fall, 2009
The C Preprocssor

The following program is run through the C preprocessor, but not through the compiler. What is the output?
#define BUFSIZE 1024
#define putchar(x)  putc(x, stdout)
#define NULL (void *)0
#define DWORD unsigned long int
#define LOBYTE(X) X & 0x0F
#define SUM(x,y) x + y

int main()
{
   int a,b,c;
   DWORD d;
   char buffer[BUFSIZE];
   char *s;
   a = 5000;
   s = NULL;
   b = LOBYTE(a);
   d = SUM(a,b);
   putchar(e);
   return 0;
}