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(m, n) ” m ## n “
int main()
{
printf(“%s\n”, foo(k, l));
}

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

Answer: d

Join The Discussion