Write a program to compile for a constant greater than 99 , using pre-processor.

Written by Sharad Raj on 13th of March, 2018

BASIC PROGRAMS   C LANGUAGE PROGRAMS

PROGRAM CODE

#include<stdio.h>

#include<conio.h>

#define MAX 100

void main()

{

#if MAX>99

printf(compiled for array greater than 99.);

#else

printf(compiled for small array’”);

#endif

getch();

}