3 ms·C/C++ is valid if it uses a subset of C that is also valid C++ and would compile with a C++ compiler.by cmovq 2y agoC/C++ is valid if it uses a subset of C that is also valid C++ and would compile with a C++ compiler.