P213. WAP to design a macro to find biggest of two numbers.
#include<stdio.h>
#define
BIG(a,b) if(a>b) \
printf( #a " is bigger
"); \
else \
printf( #b " is bigger
");
void
main()
{
int i=5,j=10;
BIG(i,j);
}
Comments
Post a Comment