what is the difference between C, C++ and C#? | Sololearn: Learn to code for FREE!

+28

what is the difference between C, C++ and C#?

c# c++ c

6/6/2019 5:43:32 AM

‎‎‎

21 Answers

New Answer

+17

There are a lot of differences between these languages, considering various aspects: Application: C is mostly used for system software, C++ is multi-purpose, except very low level system software and C# is mostly used for enterprise applications and GUI/web applications. Performance: C is the superior, C++ is comparable to C, C# is slower because there is a compatibility layer called .Net framework. Ease of coding: C is hard (although it has simpler syntax), C++ is easier, and comparing to C/C++, C# is much easier. Libraries: Using C, you can use almost any system library, using C++ you can use all those C libraries (but many avoid it, if a C++ binding is available), but also well know C++ libraries like boost and Qt. Legacy: C is first appeared in 1972 (47 years ago), C++ first appeared in 1985 (34 years ago), and C# first appeared in 2000 (19 years ago) License: Depends on the implementation. Paradigm: C is procedural, C++ is both procedural and object oriented and C# is object oriented and event oriented (among others). One can continue this list by the inventor, parent company, typing discipline, platform, etc.

+13

c is procedure oriented cpp is partially object oriented c# is completely object oriented

+13

printf ("C is a functional programming language and it's is consider low-level ie close to machines langauge and is also known as the 'mother of programming langauge'"); cout << "C++ derives from C language with the extra features of OBJECTS . It is an OOPS language and is extremely powerful and this is the reason why it is used in game industries " << endl; Console.Writeline ("This also includes in C family however this language is a high level language and is also consider as 'java++' , unlike c and c++ this language deals with memory management nicely and this language is being raised by MICROSOFT");

+11

Just for fun: C is the third alphabet C++ is C having two plus sign C# is C having HASH sorry🙏

+10

c/c++ are rlly low level so that means they can be used for for example with talking with th graphics card or making a operating system

+8

C is a procedural low-level language developed some years ago. C++ is based on C and adds object-oriented features to the language C# is just a completely different language developed by microsoft, C# is solely object oriented, and is commonly used with apps such as unity and visual studio.

+5

You could also do the Sololearn tutorial and see for yourself.

+5

No matter, I understand what you mean, I even thank you for the information you provided.

+4

I don't know about c# The difference between c and c++ C: 1.procedure oriented 2.scanf to get input 3.printf to show output 4.class does not exist C++: 1.object oriented 2.cin to get input 3.cout to show output 4.class exist 5.exception handling exist

+4

They are chronologically in reverse order !😋

+3

Uhm just saw guy explaining the same thing that I wrote so I decided to give you a more practical advice. When a person asks a question such as yours, most of the language will pretty much be the same for you (maybe except assembly and functional languages, but you want some experience before you go out for those). So what you need to think about is what you want to do rather than what language do you want to learn. For example, Tesla may use pure C to write logic for brake systems in their cars, however the autopilot feature and everything connected with it may use c++, while the app for the mechanics who repair their cars is written in c#, because performance doesn't matter there. If you don't want to limit yourself just go with C++, you will be able to program everything in the world, even your own programming language. C is a right choice if you use embedded systems alot, which is probably not the case. C# is only good if you are a a Windows user and want to dedicate yourself to Microsoft

+3

Object orientation c++, c# C multiple formats

+1

Also C# was made by Microsoft and is mostly used in game development with the game engine Unity

+1

C++/C# Are object oriented languages. U can create and use objects. But C is a similar language. C# is the bestttt! :)

+1

0

C is a procedural language Cpp is object oriented language C# is component oriented language C# was designed to work with the current Microsoft .NET framework in both client and web-based applications

0

cc

0

https://code.sololearn.com/Wzsj7lrsILQk/?ref=app

-6

not much