What will be the output of the following C code?
#include <stdio.h>
#define Shyam(x) #x
int main()
{
int marks=100;
printf("value of %s is = %d\n",Shyam(marks),marks);
return 0;
}
#include <stdio.h>
#define Shyam(x) #x
int main()
{
int marks=100;
printf("value of %s is = %d\n",Shyam(marks),marks);
return 0;
}A. error
B. value of marks=100
C. value of=100
D. 100
Answer: Option B

Join The Discussion