0

What is the difference between C and C++. Which I will have to do first.

28th May 2019, 3:22 AM
Aryan Grover
Aryan Grover - avatar
3 Respostas
+ 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.
28th May 2019, 6:45 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 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&amp_gsa=1&usqp=mq331AQA#referrer=https%3A%2F%2Fwww.google.com&amp_tf=From%20%251%24s&ampshare=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
28th May 2019, 3:36 AM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar