0
What is the difference between C and C++. Which I will have to do first.
3 odpowiedzi
+ 5
Just to add to Prince PS 's answer: do keep in mind that C and C++ are different languages, what is good practice in one of them can be really bad practice in the other.
+ 2
C++ can be said a superset of C. Mainly added features in C++ are Object Oriented Programming, Exception Handling and Richer Library.
C does no support polymorphism, encapsulation, and inheritance which means that C does not support object oriented programming.
C++ supports polymorphism, encapsulation, and inheritance because it is an object oriented programming language.
Well more differences are given in this link :
https://www-geeksforgeeks-org.cdn.ampproject.org/v/s/www.geeksforgeeks.org/difference-between-c-and-c/amp/?amp_js_v=a2&_gsa=1&usqp=mq331AQA#referrer=https%3A%2F%2Fwww.google.com&_tf=From%20%251%24s&share=https%3A%2F%2Fwww.geeksforgeeks.org%2Fdifference-between-c-and-c%2F
Well I think you should learn C first so you will get the basics of C family and then you can start with c++.
As the syntax is. Mostly same then there will be no problem for you.
But you can also start with C++ .
Thanks