Wow! It works if I add the display(stringA) after the display(stringB)! I really don't have any idea why! Anyone care to explain how this thing works? I really want to understand recursion, not just...
Type: Posts; User: Kurtanius21
Wow! It works if I add the display(stringA) after the display(stringB)! I really don't have any idea why! Anyone care to explain how this thing works? I really want to understand recursion, not just...
I'm trying to follow your suggestion stahta. I'm still having trouble. I'm trying to implement the replace_first_x() function as you suggested. Here's what I got
int replace_first_x( char...
The instructor said there is no need for malloc.
Do you think you could elaborate further Salem? An if statement would get me first x, then how do I create two recursions, one for the 0, and...
Here's the problem description:
“Write a recursive function that displays all the binary (base 2) numbers represented by a string of xs, 0s, and 1s. The xs represent digits that can be either 0 or...