Your task is to extend the previous problem.
SQUARE(x)
square(int x)
main()
n
Call SQUARE(++a) and square(++b) and print the results in the format:
SQUARE(++a)
square(++b)
Macro Square: <value> Inline Square: <value>
Example Input:
5
Output:
Macro Square: 49 Inline Square: 36
Macro function gives unexpected output
Inline function works as expected:
Test Cases
Test Results
Input
Expected Output