answersLogoWhite

0


Best Answer

C has no object oriented support. C++ is a superset of C that adds object-oriented support, but retains the concept of primitive variables. C# is a superset of C++, developed by Microsoft, that removes the concept of primitives, making it fully object-oriented but, unlike C and C++, is non-generic and is only useful for .NET programming. C# is not unlike Java, but Java is fully cross-platform and therefore has much wider support.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

In C++ statement "return 0;" may be omitted at the of the function.

Also, in C all of your variables have to be declared in the beginning of the function, while in C++, you can declare variables anywhere in the function. This applies to all functions, not just the main.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

The C and C++ languages are, at their core, very similar. C++ adds Object Oriented Programming, and several other enhancements, to the C language.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

C++ adds object-oriented programming to C by introducing the concept of classes, which introduces inheritance, data encapsulation, polymorphism, and other object-oriented concepts.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

In C++ 'return 0;' is optional.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between C programming and CPP programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is extension in c programming?

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


Difference between C and C programming language?

The C and C programming languages are one and the same. There is no difference between those languages.


Main deffrent between c and cpp?

C is a procedural programming language, while C++ is a multi-paradigm programming language that supports both procedural and object-oriented programming. C++ has additional features such as classes, inheritance, and polymorphism that allow for more flexible and modular code design compared to C.


Major advantage in cpp compared to c?

The major advantage of C++ over C is the Object Oriented Programming compatibility in C++.


How does a compiler interpret the difference between c and c plus plus?

from the extension of your file.If it has an extension of .cpp then it is a c++ programIf it's extension is .c, then it is a C program.


Major difference between java and cpp?

CPP typically stands for the C PreProcessor, which does macro expansion on C source code. What I suspect you want to know are the differences between C++ and Java. See the links below for more information on that topic.


What is the difference between the Linux shell and C?

C is a programming language. A shell is an interface.


Who invented cpp?

Bjarne Stroustrup is the recognized inventor of the C++ object oriented programming language. C++ was an enhancement to the C language, which was not object oriented.


What is difference between Turbo and Borland C?

turbo is word to do the programming language in c & c++ and i do no about borland


List some project titles in C and cpp?

Hai,Refer c++ programming language by kelly pohl. You will find Many interresting projects in c++.


What is the difference between aspnet vbnet and c?

asp.net is website programming vb.net is windows forms programming the visual basic language c#.net is windows forms programming in c# language


Difference between c and shell programming execution?

Can you please explain your question?