Home

A program to explain SIMPLE MACROS

C Programming Language 096

Program

#include <stdio.h>
#define PRINT printf("Hello\n")

void main()
{
    PRINT;
    PRINT;

    printf("\n");
}

Result

Hello
Hello


Last Updated on

Next Post: Rules vs Guidelines →

Comments