Have a question , if we can compare two arrays for equality like this
#include <iostream>
using namespace std;
int main() {
int a[5],b[5];
for (int i=0;i<5;i++) {
cin>>a[i];
cin>>b[i];
}
if (a==b) cout<<"they are equal";
}
as you see isnt there a way like this or a function to do this ?