// stringmacro.cpp - demonstrates another macro feature: // uses # to create character string of parameter #define PRINTLABEL(x) cout << "Value of " << (#x) \ << " is " << (x) << endl; #include using namespace std; int main() { int a = 12, b = 15; PRINTLABEL(a); PRINTLABEL(b); PRINTLABEL(a + b); return 0; }