Open In App
Related Articles

Difference between C and Dart

Improve Article
Save Article
Like Article

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 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.

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 03 Jul, 2020
Like Article
Save Article
Similar Reads