From 3c48b1f8c39dc8e02012d4df56412f5dee0c8f87 Mon Sep 17 00:00:00 2001 From: Richard Thier Date: Thu, 24 Apr 2025 20:02:25 +0200 Subject: [PATCH] added __COUNTER__ example --- count.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 count.c diff --git a/count.c b/count.c new file mode 100644 index 0000000..9ed3bff --- /dev/null +++ b/count.c @@ -0,0 +1,9 @@ +#include + +int main() { + printf("%d\n", __COUNTER__); + printf("%d\n", __COUNTER__); + for(int i = 0; i < 4; ++i) { + printf("%d\n", __COUNTER__); + } +}