Are all C programs C++ programs?

Do C and C++ have "a square is a rectangle but a rectangle is not a square" type of relationship? In other words, it makes sense to think that C++ cannot be compiled as a C program since it adds additional functionality but a C program can be compiled as C++ code. Is this actually true though? Any... show more Do C and C++ have "a square is a rectangle but a rectangle is not a square" type of relationship? In other words, it makes sense to think that C++ cannot be compiled as a C program since it adds additional functionality but a C program can be compiled as C++ code. Is this actually true though?

Any input would be greatly appreciated!
Thanks in advance!
6 answers 6