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?
2 Answers
+ 3
~ swim ~
Thanks, you're the best
char a[] = "hello", b[] = "hello"; if (a !=b) cout << "they are not equal"; Why does the condition (a !=b) evaluate to true?