Example & Tutorial understanding programming in easy ways.

What is the DEFINE in C language?

Basically, By using the DEFINE we can define some shortcut of anything.


Syntax:

#define old_name new_name;


program:


#include<stdio.h>

#define int number

void main()

{

number n=10;

printf("%d",number);
}


output:

10

Read More →