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
Ranked #107.55K
~2K People Reached
Favorite Forums
Favorite Tags
c x 1

1 Posted Topic

Member Avatar for varun51

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); } }

Member Avatar for Amangpt01
0
2K

The End.