Difference between C and Dart

1. C language :
C language is a programming language developed at Bell research lab in 1972 by Dennis Ritchie. C language combines the properties of low level and high-level language. C is a high-level classical kind programming language that permits to develop computer code and movable applications.

2. Dart language :
Dart is an object-oriented programming language developed by Google. It is used to develop mobile, desktop, server and web applications. Dart is an object-oriented, class-based, garbage-collected language with C-style syntax.



Difference between C and Dart :

C DART
C was developed by Dennis Ritchie between the year 1969 and 1973 at AT&T Bell Labs. Dart was developed by Google in the year 2011.
C is a procedural language. Dart is an object-oriented language.
C does not support data hiding. Dart supports data hiding.
Built-in data types is supported in C. Built-in & user-defined data types is supported in Dart.
C is a function driven language. Dart is an object driven language.
Function and operator overloading is not supported in C. Function and operator overloading is supported in Dart.
C does not support inheritance. Dart supports inheritance.
Instead of focusing on data, C focuses on method or process. Dart focuses on data instead of focusing on method or procedure.
C does not supports polymorphism. Dart supports polymorphism.
C does not supports encapsulation. Dart supports encapsulation.
Data and functions are separated in C Data and functions are encapsulated in the form of an object.
Functions are not defined inside the structures. Functions are defines inside the structures.
Reference variables are not supported. Reference variables are supported.
Direct support for exception handling is not supported by C. Exception handling is supported by Dart.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.