C Program for preprocessor using math library function

#include”stdio.h”
#include”conio.h”
#include”math.h”
#define P a*2
#define X P/4
void main()
{
itn a=20, z;
clrscr();
printf(“\n %d”,P);
printf(“%d”,X);
getche();
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s