You’re absolutely right, no one can tell if C++ is AI generated

Two C++ code snippets. A good interview question would be which one to pick, and why. And what they would change. Or you could just ask which one is AI.