Your task is to define both:
xxThe macro must be written safely so that it works correctly for any valid integer expression, not just simple variables.
In main(), the program will:
nInput Specification:
nOutput Specification:
Macro Square: <result>
Inline Square: <result>
Example 1
Input:
5
Output:
Macro Square: 25
Inline Square: 25
Example 2
Input
-3 Output
Macro Square: 9
Inline Square: 9
Constraints & Notes
n is a 32-bit signed integer
Input
5
Expected Output
Macro Square: 25 Inline Square: 25