Program to understand #define

#define EQ ==
main()

{
//The EQ is translated to == by the C pre-processor.
if ( 5 EQ 5 ) printf("define works...\n");
}

Share this

Related Posts

Dear User,

Thank you for your comment. Hope you like this blog. Kindly share us on Social Media so others can be updated.

-Chief Administrative Officer.