Yea this also one reason I don't like how these two languages are often lumped as C/C++ so often.
These days they have diverged even further. So I find funny to see C/C++ on job listings like it's one thing. While you can write code in a very C like manner in C++. That is not how typical C++ is often written these days.