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. |
Please Login to comment...