Home » C Programming » C Preprocessor

What will be the output of the program? #include<stdio.h> #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; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!