A Program to remove consecutive duplicate characters in a string is as follows:
// Recursive Progra ...