Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will be the output of the following C code?
#include < stdio.h >
#define foo(x, y) #x #y
int main()
{
printf(“%s\n”, foo(k, l));
return 0;
}

What will be the output of the following C code?
#include < stdio.h >
#define foo(x, y) #x #y
int main()
{
printf(“%s\n”, foo(k, l));
return 0;
}
a) kl
b) k l
c) xy
d) Compile time error

Answer: a

Join The Discussion