The main advantage of the newer C++ comment syntax is that you only need to start the comment, and you can expect that it will last only until the end-of-line. With the older syntax, you needed to also stop the comment. any statement; /* old comment syntax */
any statement; // new comment syntax
Copyright © 2026 eLLeNow.com All Rights Reserved.