Use macro features of C language
9
10
11
12
13
14
15
16
17
18
|
#include<stdio.h>
#include<conio.h>
#define pf printf
#define sf scanf
#define vm void main()
#define cls clrscr
#define gt getch
#define val 100
void main()
{
int n;
cls();
printf("Enter a number : ");
scanf("%d",&n);
printf("Given Number = "%d",n);
p("\nval = %d",val);
getch();
}
|
Comments
Post a Comment