I have created a function which returns 0 when the string has do not have distinct characters returns 1 when it has …I THINK THAT ERROR IS IN DECLARATION OF FUNCTION. Please HELP
You mean it output no error messages? Great, then presumably it compiled successfully. You still haven’t actually told us what’s wrong nor why you need help