
void e(int n)
{
if(n>0)
{
e(--n);
printf("%d", n);
e(--n);
}
}
void main()
{
int a = 3;
e(a);
}
) has had a chance to post their answers
. I know I got it this time. At least I think I do. God i hate recursion D:! 





int functie()
{
//do something
return 5; // returns 5
}
void functie2()
{
//do something
//doesn't return anything
}
//so you can call
...
int x = functie();
// but to call functie2 you'd just call:
functie2(); //no return value;
![=]](/forum/images/emotions/=].gif)


