#include <stdio.h>

void counter(int i, int ii)
{
  printf("%d\n", i);

  if (i != ii)
    counter(i + 1, ii);
}

void main()
{
  counter(1, 10);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: