Write a program to find the greatest of two numbers using pre-processor. | CODE WITH SHARAD

Write a program to find the greatest of two numbers 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(p,q) ((p>q)?(p):(q))

void main()

{
clrscr();

printf(maximum = %d ,max(5,3));

getch();

}


Comments


Contact