C Program To Remove Consecutive Repeated Characters From String
C Program To Remove Consecutive Repeated Characters From String
string.*/
#include <stdio.h>
int main()
{
char str[100];
int i,j,len,len1;
/*read string*/
printf("Enter any string: ");
gets(str);
/*calculating length*/
for(len=0; str[len]!='\0'; len++);
return 0;
}