char s[] = "hello", t[] = "hello"; std::cout << "s: " << s << std::endl; std::cout << "t: " << t << std::endl; std::cout << (s == t ? "true" : "false") << std::endl;
s == t
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)