kolibrios-fun/programs/develop/ktcc/trunk/source/tests/tests2/12_hashdefine.c

15 lines
225 B
C
Raw Normal View History

#include <stdio.h>
#define FRED 12
#define BLOGGS(x) (12*(x))
int main()
{
printf("%d\n", FRED);
printf("%d, %d, %d\n", BLOGGS(1), BLOGGS(2), BLOGGS(3));
return 0;
}
// vim: set expandtab ts=4 sw=3 sts=3 tw=80 :