A PROGRAM that will take two inputs from the user in the form of character arrays namely
as “name1” and “name2” respectively. Then both these arrays along with the size will be
passed to the function “compareNames” which will than start comparing both these arrays, if
all the characters of both these arrays are same then the message “Both the names are same”
should be displayed on the screen .
Note For comparing both these arrays there size should be
same
When you say "character array" do you mean a C style character array or a std::string? Using the std:string would be much easier then the C style array unless you are stuck with the C style array.
Post what you have done so far so I have an idea of what needs done.