//function macros
#include <stdio.h>
#define CUBE(x) (x * x * x)
#define REPORT(a,b) (printf("a is %d and b is %d\n", a, b))
int
main (void)
{
int n = 6;
printf ("The cube of %d is %d\n", n, CUBE(n));
REPORT (10, 20);
return (0);
}
COPYRIGHT © 2015-2024 IHYPRESS.NET. A DIVISION OF IHY PRESS. ALL RIGHTS RESERVED.