answersLogoWhite

0

Any C++ compiler must also be able to compile C. It is a requirement in the ANSI standard.

User Avatar

Wiki User

∙ 14y ago
User Avatar

What else can I help you with?

Related Questions

How turbo c executes c as well as c?

turbo c cannot execute c++ as well..since c++ is the superset of c .the cprograms can be compiled in turbo c++.


Three different file extensions and what they are used for?

.txt=notepad .cpp=turbo c .doc=mocrosoft word


Program that is executed in c but not in c?

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


What is extension in c programming?

for c language it is .c and for c++ it is .cpp


How the c and cpp extension files can be retrived using FIND command in Linux?

find . -iname '*.c' -o -iname '*.cpp'


Why the extension cpp of c?

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.


What is the differentiate of turbo c from turbo c plus plus?

Turbo C compiles c source. turbo c++ compiles c++ source code.


How do you Open a text file as C plus plus 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.


What c plus plus program must be saved in a text with the extension cpp?

The .cpp extension is merely conventional; it is not required by the C++ standard. You can actually use any file extension you wish.


What is the easiest way to convert a CPP api to a flat C api?

Well, honey, the easiest way to convert a CPP api to a flat C api is by stripping away all those fancy C++ features like classes and inheritance and sticking to good ol' C functions. It's like taking a sports car and turning it into a reliable old pickup truck - still gets the job done, just not as flashy. Just make sure to watch out for any sneaky C++ dependencies trying to tag along for the ride.


Will particular C program be compatible for both g c c and DEV Cpp compiler?

That is possible. Try it.


What year was Cpp released to the public?

C++ first appeared in 1983.