Question: what is difference between int and define?
Answer: #define is almost literally a find-and-replace. The compiler (more accurately the pre-processor) does that that before actually compiling your code. If you declare a variable (eg. “int a;”), you are defining a quantity that will be kept in memory, and you can change it.