My question comes from the fact that it is a bit confusing to know how this result is printed: ABCDEFGHIJKLMNOPQRSTUVWXYZ.
It is assumed that if there is a continuous recursion until reaching the letter A and finally printing it. How do you get to the letter B? Does memory execute all printf() starting from A? to then execute B, then C, etc. in memory of? Thanks.
#include<stdio.h>
void funcionA(char c);
void funcionB(char c);
int main()
{
printf("\n");
funcionA('Z'); //90
printf("\n");
return 0;
}
void funcionA(char c)
{
if(c > 'A') //65
funcionB(c);
printf("%c", c);
}
void funcionB(char c)
{
funcionA(--c);
}