Your task is to define both:
x
The macro must be written safely so that it works correctly for any valid integer expression, not just simple variables.
In main(), the program will:
main()
n
Input Specification:
Output 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
Test Cases
Test Results
Expected Output