CSE271: Short Quiz #5 -- C preprocessor and debugging
- (3 points) What is the command in gdb to see the sequence of functions
that were
called to get to the current location in the program?
- (3 points) What is the difference between
#include <somefile.h>
and
#include "somefile.h"
- (4 points) Create a preprocessor macro to replace the sometimes
troublesome ==
operator. This macro should take two arguments and generate an expression that
evaluates to true only when the two argument values are identical.
Last revised: 22 February 2007, Brian D. Davison.