I need to remove multiple occurrence of char and leave only one : I need the code in C to replace multiple occurrences of individual characters with a single char 
For Example:
char = {A,a,B,b,b}
output:
A,B