Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~163 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for tom.lynd.39

How does this code work?? I am at a loss how the tail recursion works here? #include<iostream.h> #include<conio.h> void back(void); void main(void) { cout<<"Enter a sentence: "; back(); getch(); } void back(void) { char ch; ch=getche(); if (ch!='\r') {back(); cout<<ch;//Read a character, print the rest of the input in reverse, …

Member Avatar for mike_2000_17
0
163