PASTE(<,>)
PASTE(0,abc)
PASTE(1,=)
-PASTE(2,@)
+PASTE(2,~)
PASTE(3,-4)
PASTE(4,+5.2)
0:4(7): preprocessor error:
Pasting "1" and "=" does not give a valid preprocessing token.
0:5(7): preprocessor error:
-Pasting "2" and "@" does not give a valid preprocessing token.
+Pasting "2" and "~" does not give a valid preprocessing token.
0:6(7): preprocessor error:
Pasting "3" and "-" does not give a valid preprocessing token.
0:7(7): preprocessor error:
1. Number of dalmations: __LINE__ __FILE__ __LINE__
2. Nominal visual acuity: __LINE__ __FILE__ / __LINE__ __FILE__
3. Battle of Thermopylae, as film: __LINE__ __FILE__ __FILE__
-4. HTTP code for "Not Found": __LINE__ __FILE__ __LINE__
+4. HTTP code for Not Found: __LINE__ __FILE__ __LINE__
5. Hexadecimal for 20560: __LINE__ __FILE__ __LINE__ __FILE__
6: Zip code for Nortonville, KS: __LINE__ __LINE__ __FILE__ __LINE__ __FILE__
7. James Bond, as a number: __FILE__ __FILE__ __LINE__
1. Number of dalmations: 1 0 1
2. Nominal visual acuity: 2 0 / 2 0
3. Battle of Thermopylae, as film: 3 0 0
-4. HTTP code for "Not Found": 4 0 4
+4. HTTP code for Not Found: 4 0 4
5. Hexadecimal for 20560: 5 0 5 0
6: Zip code for Nortonville, KS: 6 6 0 6 0
7. James Bond, as a number: 0 0 7
#define PASTE3(a,b,c) a ## b ## c
#define PASTE4(a,b,c,d) a ## b ## c ## d
#define PASTE5(a,b,c,d,e) a ## b ## c ## d ## e
-4. HTTP code for "Not Found": PASTE3(__LINE__, __FILE__ , __LINE__)
+4. HTTP code for Not Found: PASTE3(__LINE__, __FILE__ , __LINE__)
5. Hexadecimal for 20560: PASTE4(__LINE__, __FILE__, __LINE__, __FILE__)
6: Zip code for Nortonville, KS: PASTE5(__LINE__, __LINE__, __FILE__, __LINE__, __FILE__)
7. James Bond, as a number: PASTE3(__FILE__, __FILE__, __LINE__)
-4. HTTP code for "Not Found": 404
+4. HTTP code for Not Found: 404
5. Hexadecimal for 20560: 5050
6: Zip code for Nortonville, KS: 66060
7. James Bond, as a number: 007