the first:
a=2*(s-u*t)/SQUARE(t);
after replacing the definition we get:
a=2*(s-u*t)/t*t;
since in the definition of SQUARE we do not have ():
a=2*(10-30*2)/2*2; --> a=2*(-50)/2*2; --> a=-100/2*2; --> a=-50*2; --> a=-100
if you want to receive -25, you must determine SQUARE(x)how (x*x).
Edit: Add clarification to the second example.
printf("%d\n"FUN(val1,2));
, define (reminder: ## "concatenates" - , , ... ):
printf("%d\n",val12); [note: the comma (,) is missing - so it won't compile.]
val12 20, .
, , ( " " ( ) )
, .