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
Ranked #107.55K
1 Posted Topic
Re: Hi..this is a simple code in C to reverse an input string #include<stdio.h> #include<conio.h> void rev(); main() { printf("Enter the input string:"); rev(); printf(" is the reversed string"); getch(); } void rev() { char a=getchar(); if(a=='\n') return; else { rev(); printf("%c",a); } } |
The End.