#include /* define the swap macro */ #define swap(x,y) { \ char temp;\ temp = x;\ x = y;\ y = temp;} /* define the is_lower macro */ #define is_lower(x) \ ((x) >= 97 && (x) <= 122) int main() { /* Declare and initialize variables */ char x = 'a', b = 'c'; /*Print results before and after swapping values */ printf("%c %c\n", x, b); swap(x,b); printf("%c %c\n", x, b); /* Test the output of the is_lower macro */ printf("%d\n", is_lower(' ')); return 0; }