#include<stdio.h>
void rec_func(int a, int b, const int c) {
/*
flow control and stuff here
*/
printf("------------\n");
printf("New CALL\n");
printf("------------\n");
printf("Address of a : %d %x\n", a, &a);
printf("Address of b : %d %x\n", b, &b);
printf("Address of c : %d %x\n", c, &c);
if (a == 0)
{
return;
}
else
{
rec_func(a - 1, b, c);
}
}
int main(){
int a = 6, b = 8, c = 10;
rec_func(a, b, c);
return 0;
}