I have to print One time in a C function that use recursion, It can be done without using a Global Variable?
I have to print One time in a C function that use recursion.
Function return a value different from that in case (same variable). It follow question “C Multiple Func() printf – With no Reason”
This is a recursive function in C (function call itself) the Main case is: and is returned a value of variable “i” that must be 6 but is 1 as explaned: if(i==6){return i;} but the value returned is 1 not 6… note that i must be == 6 to exevute return… Here is the code: […]
C Multiple Func() printf – With no Reason
I have a simple study function: