Next: Writing Larger Programs Up: The C Preprocessor Previous: #if - Conditional inclusion

Exercises

  1. Define a preprocessor macro swap(t, x, y) that will swap two arguments x and y of a given type t.


drago@scri.fsu.edu
Jan. 1997