+ 1

Check for two identical arrays

https://code.sololearn.com/cA0a23A52A22/# Here is my code, I want to check if two arrays are identical to return true, if not, return false. I don't why I am getting a wrong answer.

16th Dec 2020, 12:49 PM
🏐Volley
🏐Volley - avatar
3 RĂ©ponses
+ 2
Ipang oh okay I will use them then thanks 😊👍
16th Dec 2020, 3:04 PM
🏐Volley
🏐Volley - avatar
+ 1
Do you have to use regular array? this would've been much easier using std::vector. Apart from the problems in the code, I think you should also consider array length. When two arrays are of different length, we can say they aren't equal.
16th Dec 2020, 2:17 PM
Ipang
+ 1
Good luck buddy! 👍
16th Dec 2020, 3:14 PM
Ipang