Home » C Programming » C Preprocessor

What will be the output of the program? #include #define JOIN(s1, s2) printf("%s=%s %s=%s \n", #s1, s1, #s2, s2); int main() { char *str1="India"; char *str2="CURIOUSTAB"; JOIN(str1, str2); return 0; }

Correct Answer: str1=India str2=CURIOUSTAB

← Previous Question Next Question→

More Questions from C Preprocessor

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion