answersLogoWhite

0

C is a subset of C++: A C++ compiler will typically compile C code (most likely with numerous errors and warnings), but a C compiler will not understand C++ at all (not understanding keywords like 'class' or 'template'

C is an imperative programming language (like Pascal or PL/I). It was introduced in 1972 by Kernighan and Ritchie.

C++ extends C with Object orientation (classes and inheritance, using the 'Simula-style'), a completely different programming paradigm - object orientation needs the programmer to think accordingly to get the most out of the language. C++ also adds templates and type safety, but these do not change the programming approach. C++ was designed by Bjarne Stroustrup and introduced in 1983.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What is the different between turbo c plus plus and unix c plus plus?

There is no such thing as 'unix C++'.


Is the syntax between c and c plus plus different?

Yes


What is the different of c and c plus plus?

c is procedure oriented and c++ is object oriented & much newer.


What is the different between Compiler and Interpreter in C or C plus plus programming?

It is easy to tell: there is no interpreter for C and C++, they are compiled languages.


If 2b a plus c then show that 3tan A 2 tan c 2 1?

If 2b a plus c, then we can say that 3tan A 2tan c = 21.


What is different of c language and c plus plus?

Primarily OOP support, but there are minor syntax difference. By and large anything you can do in C you can also do in C++.


How C plus plus is better than C?

C++ is a language code for computer and lapatops which is used in programming but C is a grade so they are different.


Why do you use a different extension for c and c plus plus programs?

Simply because they're different languages, C++ has a few more added components to it. If they were the same they would both be C wouldn't they?


Is g plus plus similar to c plus plus?

G++ is the Gnu compiler's extension for C++. It is not a different language. It simply allows you to use the GCC compiler to write C++ code.


Does c sharp work on c or c plus plus compilers or you need a c sharp compiler?

They are different languages, each of them requires its own compiler.


What can you say about the graph Ax plus By equals C about the graph Ax plus By equals C?

It is a straight line with gradient -A/B and intercept C/B.


Is it easy to learn C plus plus rather than C?

C++ is a superset of C, with some things changed, so it is more correct to say that learning C is easier than learning C++.