Include Iostream Using Namespace Std Void Findduplicatechar Char A Char B Retur

#include <iostream>

using namespace std;

void findDuplicateChar (char a, char b)

{

}

return ;

int main ()

{

}

Are you able to explain to me how to go about writing this function that determines whether any character in a null-terminated character array is a repeated character and returns the index of the first duplicate to the caller

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *