answersLogoWhite

0

How turbo c executes c as well as cpp?

Updated: 8/20/2019
User Avatar

Wiki User

11y ago

Best Answer

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

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How turbo c executes c as well as cpp?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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.


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

That is possible. Try it.


Why is cpp or c platform dependent?

Different architecture on different platforms.


What year was Cpp released to the public?

C++ first appeared in 1983.