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.79K
~699 People Reached
Favorite Forums
Favorite Tags
c++ x 1
c x 1

1 Posted Topic

Member Avatar for code2cplus

this is my code #include <stdio.h> #include <string.h> #include <conio.h> int main(){ char x[40],b; int i,j,l; puts("enter string :"); gets(x); j = (strlen(x) -1)*strlen(x); i=0; l=0; for(i=0;i<j/2;i++){ for(l=0;l<strlen(x)-1;l++){ b = x[l]; x[l] = x[l+1]; x[l+1] = b; x[strlen(x)] = '\0'; puts(x); } } getchar; return 0; }

Member Avatar for Assembly Guy
0
699

The End.