C | Macro & Preprocessor | Question 14

Last Updated :
Discuss
Comments

What is the output of following program? 

C
#include <stdio.h>
#define macro(n, a, i, m) m##a##i##n
#define MAIN macro(n, a, i, m)

int MAIN()
{
    printf("GeeksQuiz");
    return 0;
}

Compiler Error

GeeksQuiz

MAIN

main

Tags:
Share your thoughts in the comments