What is wrong with the following code segment?
const int limit = 100;
int eprep[limit];
int examp[limit];
for (int index = 0; index <= limit - 1; index++)
{
eprep[index] = 0;
examp[index] = 0;
}
if (eprep == examp)
cout << "Equal";
At first I thought it was maybe the fact that it has no 'else' but then thought that was too easy of an answer...????