Check out example codes for "c defined value sum". It will help you in understanding the concepts better.

Code Example 1

#define VALUE_A 2
#define VALUE_B 2
#define SUM_A_B (VALUE_A + VALUE_B)

Learn ReactJs, React Native from akashmittal.com