C++,
pasted
on Nov 3:
|
#define PRINT_STRING(s) cout << (#s) << endl;
int main() {
cout << "foo(\"hello\", \"world\", 5)" << endl;
cout << "foo('hello', 'world', 5)" << endl;
PRINT_STRING(foo("hello", "world", 5))
return 0;
}
|
Output:
|
foo("hello", "world", 5)
foo('hello', 'world', 5)
foo("hello", "world", 5)
|
|