Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #107.80K
~258 People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for cpp_noobsauce

#include<stdio.h> void main() { char a[25] = "kaveyarrasan.k"; char c; int i,n; printf("Enter the position or place of char to b replace:"\n); scanf("%d",&n); for(i=0;i<=n;i++) { if(i==n) { printf("Enter the Character to replace"\n); scanf("%c",&c) a[i] = c; } } for(i=0;i<=25;i++) printf("After replacing the character the string will be %c",a[i]); }

Member Avatar for Salem
0
258

The End.