Shashi Sagar

Shashi Sagar

What is #define?

#define is a C++ component that allows the programmer to provide a name to constant(Data values that stay the same every time a program is executed are known as constants) values. By doing this, the compiler just replaces the reference…