Joined
Last Seen
-2 Reputation Points
- 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
0 Endorsements
Ranked #107.80K
1 Posted Topic
#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]); }
The End.
kaveyarrasan.k