1// #define is a macro that lets you use an alias name to
2// make code more readable. During C++'s preproccessing stage, your macro
3// will be replaced with the suitable code needed for proper compiling.
4
5#include <iostream>
6// used to define constants, types, functions and more....
7
8#define SIZE 5
9#define MacroInt int
10#define getmax(a,b) ((a)>(b)?(a):(b))
11
12int main(){
13 MacroInt myIntAsMacro = 7;
14 std::cout<< getmax(SIZE, myIntAsMacro); // will return 7
15}
16