#define str "TCS" ## "Hyd" main() { printf(str); }
-
compilation error
-
TCS Hyd
-
runtime error
-
non of above
B
Correct answer
Explanation
The preprocessor concatenates 'TCS' and 'Hyd' into a single string literal 'TCS Hyd'. The ## operator performs token pasting during preprocessing, before compilation. This is valid preprocessor syntax that results in a single string that printf will output correctly. There's no compilation or runtime error - the code works as intended.