C | Macro & Preprocessor | Question 8

Last Updated :
Discuss
Comments
C
#include <stdio.h>
#define a 10
int main()
{
  printf("%d ",a);

  #define a 50

  printf("%d ",a);
  return 0;
}
Compiler Error
10 50
50 50
10 10
Tags:
Share your thoughts in the comments