Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
A macro is a fragment of code that is given a name. You can define a macro in C using the #define preprocessor directive.
#include<stdio.h>
#define max 50
int main()
{
printf(“max is %d”, max);
return 0;
}
Output:
max is 50