1
0

subst.c 212 B

12345678910111213
  1. /* subst.c -- substitute in string */
  2. #include <stdio.h>
  3. #define PSQR(x) printf("The square of " #x " is %d.\n",((x)*(x)))
  4. int main(void)
  5. {
  6. int y = 5;
  7. PSQR(y);
  8. PSQR(2 + 4);
  9. return 0;
  10. }