0

Why are these two chars (of the same elements) not equal?

char a[] = "hello", b[] = "hello"; if (a !=b) cout << "they are not equal"; Why does the condition (a !=b) evaluate to true?

4th Aug 2020, 1:28 AM
Solus
Solus - avatar
1 Respuesta
+ 3
~ swim ~ Thanks, you're the best
4th Aug 2020, 1:41 AM
Solus
Solus - avatar