Home » C Programming » Preprocessors » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    #define fun(p, q) #p #q
    int main()
    {
    printf("%s\n", fun(a, b));
    return 0;
    }
    1. Compilation Error
    2. pq
    3. ab
    4. Garbage value
    5. None of these
Correct Option: C

ab



Your comments will be displayed only after manual approval.