What is the difference between C, C# & C++? Which one should i learn first?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

What is the difference between C, C# & C++? Which one should i learn first??

13th Feb 2019, 12:09 AM
Saurabh Mishra
Saurabh Mishra - avatar
7 Answers
+ 12
C was created to provide a structural programming language that is easier to use than assembly.Ā  It is considered a low-level programming language with little to no loss in performance relative to assembly.Ā  This made C the natural choice for building operating systems and low-level software on computers because it allowed for easier development at near-assembly performance. Ā  C++ is essentially an extension of C. The original C++ compilers just pre-compiled directly into C, which was then compiled to machine code, while modern C++ compilers can easily compile C or C++ into machine code.Ā  C++ was designed to allow developers to use all of the existing features of C but provides a number of extensions to support object-oriented programming techniques in an intermediate-level programming language. Ā  C# is a complete outlier in this list.Ā  Despite it's name, it has far more in common with Java than C or C++.Ā  C# is an object-oriented, high-level programming language.Ā  Like Java, C# provides a number of features
13th Feb 2019, 6:01 AM
Danyo Joe Crews Kumi Junior
Danyo Joe Crews Kumi Junior - avatar
+ 4
C IMHO.
13th Feb 2019, 8:41 AM
Sonic
Sonic - avatar
+ 2
I think that u better learn C# first if u dont have related experience to programing.
13th Feb 2019, 11:36 AM
Puffty
+ 1
C IS PROCUDURE ORIENTED C# IS COMPLETLY OBJECT ORIENTED C++ IS PARTIALLY OBJECT ORIENTED C IS THE BASIC TO LEARN ANY TYPE OF COURSE EITHER SOFTWARE OR HARDWARE
13th Feb 2019, 6:13 AM
sree harsha
sree harsha - avatar
+ 1
C++ is actually very different from C, except for the syntax. It has a huge standard library that allows you to avoid almost all difficulties you'd have with C. At the same time, C++ has access to all C libraries and pointers, so you can experiment with them before going into C. C++ is way easier and more powerful than C. You will make more progress, learn low level programming and also object-oriented programming, and you'll benefit a lot from that. Therefore I recommend starting with C++. Afterwards, if you want to go deeper into computer science and low level programming (operating systems, drivers), take a look at C - if you're more interesting in OOP and building applications, look at C#, Java or Kotlin, or stick to C++.
13th Feb 2019, 6:37 PM
Chris
Chris - avatar
+ 1
It depends on what you want to do with it, where. What is your goal?
14th Feb 2019, 12:51 PM
Rutger Spaans
Rutger Spaans - avatar
0
thanks for your help
14th Feb 2019, 5:11 PM
Bayode Emmanuel Olaseeni
Bayode Emmanuel Olaseeni - avatar