Welcome back! Recently i’ve been talking alot about the most popular programming languages that other massive companies use, I noticed a bunch of these positions require knowledge of C and C++, so let’s talk about some of the biggest differences between these 2 languages.

Main Differences

Starting off, the age of these languages are a little bit different, C was developed in 1969, C++ was started in 1979, a very important thing to remember is that C++ is derived from C. Another massive difference is that C is a procedural programming language where C++ is an object oriented language, what does this mean? Let’s take a look at a very informative table created by geeksforgeeks.org:

Essentially C and C++ have their pros and cons, but these are some of the biggest differences between these languages, if you want to read their full article check out this link below:

Essentially, these languages are more similar than different, they both share similar syntax and almost all of C’s syntax is present in C++ as well.

Another slight difference between these 2 are the salaries between these languages, a C developer (on average) on Indeed has a salary of $103,665:

Interestingly enough, a C++ developer has an average salary of $110,623:

As you can see, I wouldn’t learn one over the other because of the salary, but from what i’ve seen more jobs require C++ and C than one or the other. Another massive difference is the data types, C does not support Boolean or String data types, C++ on the other hand supports built in data types and user defined data types as well. C also doesn’t support try / catch or references, C++ supports both exception handling and references and pointers.

So… Which Should I Learn?

In my opinion, C++ is probably the better one to learn right now, it seems to be more in demand and there are (in my opinion) higher quality tutorials for C++ than for C right now. On top of this, there seems to be a few more positions available for C++ over C:

Number of C++ positions available on Indeed:

Number of C positions available on Indeed:

On the flip side, I think learning both of these is an extremely awesome thing you can do. Is the syntax exactly the same? No, but it’s not too far off, plus having C & C++ on your resume could help you land more jobs. At the end of the day even though C++ essentially came from C, there are many pros to learn C++ over C.

Below are some of my favorite tutorials to follow if you want to learn C++:

FreeCodeCamp Youtube tutorial:



As Always

if you have any suggestions, thoughts or just want to connect, feel free to contact / follow me on Twitter! Also, below is a link to some of my favorite resources for learning programming, Python, R, Data Science, etc.

Thanks so much for reading!

Data Scientist / Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store