+ 2
program to find first non repeating element in c language??
input :- swiss output:- w
3 Respostas
+ 4
without pointers (return 0 if no characters found)
char repeat(char * s){
size_t i = 0, j = 0;
while(s[i] && s[j]){
j = i + 1;
while(s[j] && s[j] != s[i]){
j++;
}
++i;
}
return s[i];
}
+ 1
without using pointer??