Any C++ compiler must also be able to compile C. It is a requirement in the ANSI standard.
turbo c cannot execute c++ as well..since c++ is the superset of c .the cprograms can be compiled in turbo c++.
.txt=notepad .cpp=turbo c .doc=mocrosoft word
Answer1. When you save file using extension ".c" the program executes using "C" compiler and it cannot execute any other program which is not in "C".So, we cannot execute program in "C" which is not in "C".2. When you save file using extension ".cpp" the program executes using "C++" compiler and it can execute program of "C" but it should be saved with extension ".cpp".So, There is a program which is not in "C++" can be executed in "C++" compiler.Another answerYour question is ambiguous. 1. Okay in C++ but not in C:int main (void){ cout
for c language it is .c and for c++ it is .cpp
find . -iname '*.c' -o -iname '*.cpp'
The extension of a file containing a C program can be any extension, so long as the compiler or platform can infer the proper rules to build it. Commonly, for C programs, the extension is .c, so myfile.c would be a C program. The term cpp is not a designation for C++. It means C Program Precompiler, and it is the normal way to build one or more C programs into an executable. Over the years, cpp has evolved into being able to handle all sorts of languages. C++ is one of them. Typical extensions for C++ programs are .cc, .cpp, and .cxx.
Turbo C compiles c source. turbo c++ compiles c++ source code.
All C++ source code is is a text file with the .cpp extension. So if you save your code as *****.cpp then it is automatically C++ source code.
The .cpp extension is merely conventional; it is not required by the C++ standard. You can actually use any file extension you wish.
That is possible. Try it.
Different architecture on different platforms.
C++ first appeared in 1983.